3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { const AA = 0; const BB = 1; const st_AA = 'Aa'; const st_BB = 'Bb'; public static $state = array( self::AA => self::st_AA self::BB => self::st_BB ); } var_dump( test::$state );

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.160.0300.05019.13
5.4.150.0400.06018.93
5.4.140.0300.07016.52
5.4.130.0170.07316.29
5.4.120.0300.06316.32
5.4.110.0230.05016.50
5.4.100.0270.07016.57
5.4.90.0330.06316.55
5.4.80.0330.06016.43
5.4.70.0230.05016.43
5.4.60.0370.06016.43
5.4.50.0230.04316.52
5.4.40.0300.07016.25
5.4.30.0300.06316.50
5.4.20.0300.03016.16
5.4.10.0330.05316.33
5.4.00.0200.03715.91
5.3.260.0270.06314.51
5.3.250.0300.05314.68
5.3.240.0200.04714.57
5.3.230.0270.05014.71
5.3.220.0300.04014.64
5.3.210.0270.07014.58
5.3.200.0270.06314.68
5.3.190.0170.05714.48
5.3.180.0270.05014.57
5.3.170.0130.08014.58
5.3.160.0170.08014.49
5.3.150.0270.05314.56
5.3.140.0230.03014.67
5.3.130.0200.03714.52
5.3.120.0230.06714.61
5.3.110.0300.06714.54
5.3.100.0200.07714.26
5.3.90.0230.05313.99
5.3.80.0170.08014.02
5.3.70.0230.07313.99
5.3.60.0100.04314.05
5.3.50.0230.03713.91
5.3.40.0230.04014.09
5.3.30.0230.04313.82
5.3.20.0270.05013.59
5.3.10.0230.04313.74
5.3.00.0270.03713.65

preferences:
140.56 ms | 1386 KiB | 7 Q