3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = new StdClass(); $foo->bar = 'baz'; echo "$foo->bar"

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.390.0200.05018.53
5.4.380.0200.07018.78
5.4.370.0200.05018.60
5.4.360.0100.06718.66
5.4.350.0200.05718.69
5.4.340.0100.06018.63
5.4.320.0170.05318.77
5.4.310.0200.05018.72
5.4.300.0330.04718.68
5.4.290.0230.04318.77
5.4.280.0300.06018.50
5.4.270.0100.06318.77
5.4.260.0370.05718.69
5.4.250.0270.05018.71
5.4.240.0230.07318.56
5.4.230.0300.04018.49
5.4.220.0200.05018.55
5.4.210.0170.06318.68
5.4.200.0100.05716.66
5.4.190.0200.05018.45
5.4.180.0230.06718.67
5.4.170.0130.06018.44
5.4.160.0200.05318.58
5.4.150.0200.04718.72
5.4.140.0130.05316.16
5.4.130.0370.06716.15
5.4.120.0270.04016.13
5.4.110.0270.06316.26
5.4.100.0170.05016.08
5.4.90.0070.06016.31
5.4.80.0130.05016.14
5.4.70.0130.05316.13
5.4.60.0100.05316.24
5.4.50.0200.04716.10
5.4.40.0230.05316.02
5.4.30.0070.05716.11
5.4.20.0330.05716.14
5.4.10.0200.04716.03
5.4.00.0200.04715.60
5.3.290.0270.04714.64
5.3.280.0100.06014.67
5.3.270.0070.06714.59
5.3.260.0270.05014.52
5.3.250.0200.05714.53
5.3.240.0170.05014.52
5.3.230.0270.05014.59
5.3.220.0100.06014.64
5.3.210.0070.06714.67
5.3.200.0170.06714.57
5.3.190.0100.06014.64
5.3.180.0200.05314.60
5.3.170.0230.05014.46
5.3.160.0170.06314.57
5.3.150.0200.05314.55
5.3.140.0170.05314.63
5.3.130.0170.05314.45
5.3.120.0170.05714.51
5.3.110.0130.05714.54
5.3.100.0200.05314.13
5.3.90.0170.05313.92
5.3.80.0100.06014.04
5.3.70.0170.05714.01
5.3.60.0130.05713.96
5.3.50.0170.05013.92
5.3.40.0200.05713.88
5.3.30.0200.04713.84
5.3.20.0100.07013.69
5.3.10.0200.04713.64
5.3.00.0130.05313.59
5.2.170.0130.04311.11
5.2.160.0100.04711.08
5.2.150.0200.03711.14
5.2.140.0200.05711.13
5.2.130.0200.03311.10
5.2.120.0170.04311.01
5.2.110.0230.03311.14
5.2.100.0100.04311.05
5.2.90.0100.04311.14
5.2.80.0170.04011.10
5.2.70.0070.05011.13
5.2.60.0170.04011.10
5.2.50.0200.03311.05
5.2.40.0100.04011.14
5.2.30.0170.03710.92
5.2.20.0130.04310.87
5.2.10.0130.04011.02
5.2.00.0100.04310.87
5.1.60.0130.03310.06
5.1.50.0070.04010.04
5.1.40.0100.03710.07
5.1.30.0230.02710.34
5.1.20.0100.03710.49
5.1.10.0130.03310.11
5.1.00.0100.04010.09
5.0.50.0100.0278.64
5.0.40.0130.0238.50
5.0.30.0030.0478.27
5.0.20.0000.0378.32
5.0.10.0000.0378.15
5.0.00.0030.0508.29
4.4.90.0000.0275.86
4.4.80.0070.0235.88
4.4.70.0130.0175.88
4.4.60.0030.0235.90
4.4.50.0030.0235.87
4.4.40.0100.0375.82
4.4.30.0100.0275.90
4.4.20.0070.0275.97
4.4.10.0070.0335.92
4.4.00.0100.0375.95
4.3.110.0070.0235.85
4.3.100.0070.0205.85
4.3.90.0070.0205.81
4.3.80.0100.0305.80
4.3.70.0070.0205.79
4.3.60.0070.0235.80
4.3.50.0070.0235.91
4.3.40.0030.0435.79
4.3.30.0000.0234.58
4.3.20.0000.0274.59
4.3.10.0030.0234.50
4.3.00.0000.0279.39

preferences:
144.63 ms | 1398 KiB | 7 Q