3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo {} $foo = new Foo; $rounds = 1000000; $start = microtime(true); for($i=0; $i<$rounds; $i++) { (new ReflectionClass($foo))->getName(); } echo (microtime(true) - $start);
Output for 7.1.0
0.19543099403381
Output for 7.0.14
0.25006890296936
Output for 7.0.10
0.23926281929016
Output for 7.0.9
0.22996807098389
Output for 7.0.8
0.25211691856384
Output for 7.0.7
0.2808530330658
Output for 7.0.6
0.23182201385498
Output for 7.0.5
0.23727107048035
Output for 7.0.4
0.23404216766357
Output for 7.0.3
0.21086192131042
Output for 7.0.2
0.22342586517334
Output for 7.0.1
0.22168302536011
Output for 7.0.0
0.22282791137695
Output for 5.6.28
-0.18673801422119
Output for 5.6.25
0.5918710231781
Output for 5.6.24
0.63225698471069
Output for 5.6.23
0.62104082107544
Output for 5.6.22
0.57424998283386
Output for 5.6.21
0.54336977005005
Output for 5.6.20
0.63009881973267
Output for 5.6.19
0.5600528717041
Output for 5.6.18
0.55313396453857
Output for 5.6.17
0.53834104537964
Output for 5.6.16
0.58910322189331
Output for 5.6.15
0.5616569519043
Output for 5.6.14
0.57581806182861
Output for 5.6.13
0.45650005340576
Output for 5.6.12
0.57660293579102
Output for 5.6.11
0.6027820110321
Output for 5.6.10
0.57047510147095
Output for 5.6.9
0.57216906547546
Output for 5.6.8
0.57486510276794
Output for 5.6.7
0.54139399528503
Output for 5.6.6
0.67376303672791
Output for 5.6.5
0.55422496795654
Output for 5.6.4
0.64098906517029
Output for 5.6.3
0.59584307670593
Output for 5.6.2
0.5691659450531
Output for 5.6.1
0.57447481155396
Output for 5.6.0
0.56664609909058
Output for 5.5.38
0.59157991409302
Output for 5.5.37
0.5825080871582
Output for 5.5.36
0.56444692611694
Output for 5.5.35
0.68391990661621
Output for 5.5.34
0.59106707572937
Output for 5.5.33
0.58124208450317
Output for 5.5.32
0.60677719116211
Output for 5.5.31
0.53680396080017
Output for 5.5.30
0.57318115234375
Output for 5.5.29
0.50764894485474
Output for 5.5.28
0.59441304206848
Output for 5.5.27
0.58011817932129
Output for 5.5.26
0.58328104019165
Output for 5.5.25
0.57342290878296
Output for 5.5.24
0.65060806274414
Output for 5.5.23
0.5735719203949
Output for 5.5.22
0.58892393112183
Output for 5.5.21
0.58267903327942
Output for 5.5.20
0.5755889415741
Output for 5.5.19
0.59148812294006
Output for 5.5.18
0.57860398292542
Output for 5.5.16
0.58296990394592
Output for 5.5.15
0.58959102630615
Output for 5.5.14
0.58446311950684
Output for 5.5.13
0.58131885528564
Output for 5.5.12
0.52582311630249
Output for 5.5.11
0.57595896720886
Output for 5.5.10
0.57500505447388
Output for 5.5.9
0.57771992683411
Output for 5.5.8
0.57911205291748
Output for 5.5.7
0.63530111312866
Output for 5.5.6
0.55424809455872
Output for 5.5.5
0.60126900672913
Output for 5.5.4
0.5905442237854
Output for 5.5.3
0.57410883903503
Output for 5.5.2
0.61159682273865
Output for 5.5.1
0.58433198928833
Output for 5.5.0
0.56143999099731
Output for 5.4.45
0.52085709571838
Output for 5.4.44
0.54919600486755
Output for 5.4.43
0.58570790290833
Output for 5.4.42
0.6361780166626
Output for 5.4.41
0.67888498306274
Output for 5.4.40
0.54610395431519
Output for 5.4.39
0.50062298774719
Output for 5.4.38
0.59072995185852
Output for 5.4.37
0.68583607673645
Output for 5.4.36
0.56449317932129
Output for 5.4.35
0.55399489402771
Output for 5.4.34
0.56044507026672
Output for 5.4.32
0.55617904663086
Output for 5.4.31
0.56709814071655
Output for 5.4.30
0.5696280002594
Output for 5.4.29
0.58506107330322
Output for 5.4.28
0.57964086532593
Output for 5.4.27
0.55644607543945
Output for 5.4.26
0.57732009887695
Output for 5.4.25
0.5568699836731
Output for 5.4.24
0.55391311645508
Output for 5.4.23
0.57905697822571
Output for 5.4.22
0.55805397033691
Output for 5.4.21
0.57340216636658
Output for 5.4.20
0.57374787330627
Output for 5.4.19
0.55291295051575
Output for 5.4.18
0.58252501487732
Output for 5.4.17
0.58346891403198
Output for 5.4.16
0.58076596260071
Output for 5.4.15
0.48298692703247
Output for 5.4.14
0.53680300712585
Output for 5.4.13
0.57907390594482
Output for 5.4.12
0.45294618606567
Output for 5.4.11
0.46422100067139
Output for 5.4.10
0.48812890052795
Output for 5.4.9
0.45848512649536
Output for 5.4.8
0.52796602249146
Output for 5.4.7
0.5108950138092
Output for 5.4.6
0.55555891990662
Output for 5.4.5
0.58120608329773
Output for 5.4.4
0.56900978088379
Output for 5.4.3
0.54888892173767
Output for 5.4.2
0.55948305130005
Output for 5.4.1
0.58261108398438
Output for 5.4.0
0.56321501731873
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/v7CoR on line 11
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_OBJECT_OPERATOR in /in/v7CoR on line 11
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/v7CoR on line 11
Process exited with code 255.