Back   Run bench2() first.
Source   Test Once   Reading CONSTANTS versus Global Variables
Constants x 1.43 faster 0.0007 Globals 0.0010
Source   Test Once   + vs += integer operators
+ integer 0.0015 += integer x 2.14 faster 0.0007
Source   Test Once   + vs += string operators
+ strings 0.0023 += strings x 1.05 faster 0.0022
Source   Test Once   += vs + string operators
+= strings x 1.42 faster 0.0019 + strings 0.0027
Source   Test Once   short vs long variable names
short var name (1 char) x 3.00 faster 0.0003 long var name (72 chars) 0.0009

Testing PHP 5.0.0RC1 Completed on WINNT. Benchmark done on: 19-Mar-2004 11:00:18


(c) 2003-2004 John Lim PHP Benchmark Suite (PHP BS 1.01). Sponsored by Natsoft and Ormes.