speed of php5
Posted on 2006-07-21
i am new to php5 and this is my first attempt of using it.
i am really just trying to find out if there are speed differences with php 5 and php 5. also, does it (5) cache or something? i have noticed weird things in simple class which gets the contents of a directory and does things with it. when i run it the first time it takes 2-11 seconds. then if i refresh the page it will take .1 or less. is this normal? i would think php 5 would be faster.
i have error reporting set to e_all and have fixed anything it says.
also as an fyi: my server (shared environment) by default runs php 4 so you have to name files *.php5 to run under php5