3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A {} $date_1 = microtime(TRUE); for ($i = 0; $i < 100; $i++) { $obj = new a(); } $date_2 = microtime(TRUE); echo $date_2 - $date_1; debug_zval_dump($obj);
Output for 5.6.7, 7.1.0
1.3113021850586E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.0, 5.4.21, 5.4.29, 5.4.38, 5.6.11, 7.0.14
2.0980834960938E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.1, 5.4.9, 5.4.28, 5.5.26, 5.6.12, 7.0.12
2.0027160644531E-5object(A)#2 (0) refcount(2){ }
Output for 5.3.1, 5.6.28, 7.0.6
2.5033950805664E-5object(A)#2 (0) refcount(2){ }
Output for 7.0.5
9.0599060058594E-6object(A)#2 (0) refcount(2){ }
Output for 7.0.4
8.8214874267578E-6object(A)#2 (0) refcount(2){ }
Output for 7.0.3
1.1205673217773E-5object(A)#2 (0) refcount(2){ }
Output for 5.6.16 - 5.6.18, 7.0.2
1.2874603271484E-5object(A)#2 (0) refcount(2){ }
Output for 7.0.1
1.0013580322266E-5object(A)#2 (0) refcount(2){ }
Output for 7.0.0
1.0967254638672E-5object(A)#2 (0) refcount(2){ }
Output for hhvm-3.12.0
3.6954879760742E-5object(A)#100 (0) refcount(2){ }
Output for hhvm-3.10.0
2.1934509277344E-5object(A)#100 (0) refcount(2){ }
Output for 5.4.16 - 5.4.17, 5.4.30, 5.4.43, 5.5.25, 5.6.8, 5.6.21
2.3126602172852E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.19, 5.6.15, 5.6.20
1.9073486328125E-5object(A)#2 (0) refcount(2){ }
Output for 5.3.0, 5.3.22, 5.6.19
3.0040740966797E-5object(A)#2 (0) refcount(2){ }
Output for 5.3.10, 5.4.2, 5.4.5, 5.4.13, 5.4.15, 5.4.27, 5.4.41, 5.5.27, 5.6.14
2.1934509277344E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.4, 5.6.13
1.7881393432617E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.24, 5.6.9 - 5.6.10
1.8119812011719E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.22, 5.4.25, 5.4.37, 5.5.35
1.6927719116211E-5object(A)#2 (0) refcount(2){ }
Output for 5.3.4, 5.3.16, 5.3.28, 5.5.34
3.504753112793E-5object(A)#2 (0) refcount(2){ }
Output for 5.5.33
1.6212463378906E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.31, 5.5.31 - 5.5.32
1.7166137695312E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.6, 5.5.30
2.2172927856445E-5object(A)#2 (0) refcount(2){ }
Output for 5.3.25, 5.5.29
2.4080276489258E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.20, 5.5.24, 5.5.28
1.4066696166992E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.45
1.4781951904297E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.18, 5.4.44
1.5020370483398E-5object(A)#2 (0) refcount(2){ }
Output for 5.3.20, 5.4.42
3.3855438232422E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.9, 5.2.15, 5.4.40
3.9100646972656E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.10, 5.4.12, 5.4.14, 5.4.32, 5.4.35, 5.4.39
2.288818359375E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.36
2.8848648071289E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.3, 5.4.34
1.5974044799805E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.13, 5.3.14, 5.3.26, 5.4.8, 5.4.26
2.3841857910156E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.23
3.7193298339844E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.11
1.8835067749023E-5object(A)#2 (0) refcount(2){ }
Output for 5.4.7
2.9802322387695E-5object(A)#2 (0) refcount(2){ }
Output for 5.3.11, 5.3.29
3.1948089599609E-5object(A)#2 (0) refcount(2){ }
Output for 5.3.8, 5.3.13, 5.3.24, 5.3.27
3.4093856811523E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.17, 5.3.6, 5.3.15, 5.3.18, 5.3.23
3.6954879760742E-5object(A)#2 (0) refcount(2){ }
Output for 5.3.7, 5.3.21
3.814697265625E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.8, 5.2.11, 5.3.19
3.7908554077148E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.4, 5.3.5, 5.3.17
3.0994415283203E-5object(A)#2 (0) refcount(2){ }
Output for 5.3.12
3.6001205444336E-5object(A)#2 (0) refcount(2){ }
Output for 5.3.9
5.6028366088867E-5object(A)#2 (0) refcount(2){ }
Output for 5.3.3
2.7894973754883E-5object(A)#2 (0) refcount(2){ }
Output for 5.3.2
7.3909759521484E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.16
5.1975250244141E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.14
2.7179718017578E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.3, 5.2.12
4.1007995605469E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.10
4.1961669921875E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.7
4.0054321289062E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.6
2.6941299438477E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.5
3.8862228393555E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.2
4.4107437133789E-5object(A)#2 (0) refcount(2){ }
Output for 5.2.1
4.1007995605469E-05object(A)#2 (0) refcount(2){ }
Output for 5.0.2, 5.1.0, 5.2.0
4.0054321289062E-05object(A)#2 (0) refcount(2){ }
Output for 5.1.6
2.7894973754883E-05object(A)#2 (0) refcount(2){ }
Output for 5.1.1, 5.1.5
3.0994415283203E-05object(A)#2 (0) refcount(2){ }
Output for 5.1.4
3.7908554077148E-05object(A)#2 (0) refcount(2){ }
Output for 5.1.3
3.8862228393555E-05object(A)#2 (0) refcount(2){ }
Output for 5.1.2
3.3140182495117E-05object(A)#2 (0) refcount(2){ }
Output for 5.0.5
5.8889389038086E-05object(A)#2 (0) refcount(2){ }
Output for 5.0.4
5.9843063354492E-05object(A)#2 (0) refcount(2){ }
Output for 5.0.3
5.0067901611328E-05object(A)#2 (0) refcount(2){ }
Output for 5.0.1
3.0040740966797E-05object(A)#2 (0) refcount(2){ }
Output for 5.0.0
2.9087066650391E-05object(A)#2 (0) refcount(2){ }
Output for 4.4.9
6.2E-05object(a)(0) refcount(2){ }
Output for 4.4.8
6.3000000000007E-05object(a)(0) refcount(2){ }
Output for 4.4.3, 4.4.7
6.7999999999957E-05object(a)(0) refcount(2){ }
Output for 4.3.11, 4.4.6
5.3999999999998E-05object(a)(0) refcount(2){ }
Output for 4.4.5
7.4000000000005E-05object(a)(0) refcount(2){ }
Output for 4.4.4
4.9999999999994E-05object(a)(0) refcount(2){ }
Output for 4.4.2
4.3999999999988E-05object(a)(0) refcount(2){ }
Output for 4.4.1
5.899999999992E-05object(a)(0) refcount(2){ }
Output for 4.4.0
5.9999999999998E-05object(a)(0) refcount(2){ }
Output for 4.3.10
5.1000000000023E-05object(a)(0) refcount(2){ }
Output for 4.3.9
4.0999999999958E-05object(a)(0) refcount(2){ }
Output for 4.3.8
3.3000000000005E-05object(a)(0) refcount(2){ }
Output for 4.3.7
6.1999999999979E-05object(a)(0) refcount(2){ }
Output for 4.3.6
5.4999999999972E-05object(a)(0) refcount(2){ }
Output for 4.3.5
6.0999999999978E-05object(a)(0) refcount(2){ }
Output for 4.3.4
5.299999999997E-05object(a)(0) refcount(2){ }
Output for 4.3.3
5.5999999999945E-05object(a)(0) refcount(2){ }
Output for 4.3.2
3.7999999999982E-05object(a)(0) refcount(2){ }
Output for 4.3.1
5.4E-05object(a)(0) refcount(2){ }
Output for 4.3.0
5.0000000000008E-05object(a)(0) refcount(2){ }