3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new StdClass; $a->b = 1; (clone $a)->b++; var_dump($a);

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.360.0100.05018.80
5.4.350.0030.03713.94
5.4.340.0070.03713.73
5.4.320.0030.04314.26
5.4.310.0030.04314.26
5.4.300.0100.03714.24
5.4.290.0100.03714.50
5.4.280.0070.03714.16
5.4.270.0100.03714.32
5.4.260.0100.03714.19
5.4.250.0170.03314.15
5.4.240.0030.04314.15
5.4.230.0070.04014.18
5.4.220.0030.04014.14
5.4.210.0070.04314.23
5.4.200.0030.04314.15
5.4.190.0100.05014.27
5.4.180.0070.05314.18
5.4.170.0070.03714.19
5.4.160.0070.04014.16
5.4.150.0130.03314.16
5.4.140.0100.03713.89
5.4.130.0100.03314.05
5.4.120.0130.03014.00
5.4.110.0170.02713.78
5.4.100.0030.04014.01
5.4.90.0130.03013.86
5.4.80.0030.04013.79
5.4.70.0000.04313.77
5.4.60.0070.03713.71
5.4.50.0130.03713.80
5.4.40.0100.03713.79
5.4.30.0100.03313.75
5.4.20.0030.04013.75
5.4.10.0100.03313.75
5.4.00.0100.03713.24
5.3.290.0130.03314.71
5.3.280.0070.04014.63
5.3.270.0070.04014.53
5.3.260.0070.04014.50
5.3.250.0070.04014.58
5.3.240.0170.03014.52
5.3.230.0070.04714.65
5.3.220.0030.04714.42
5.3.210.0070.04714.50
5.3.200.0100.04314.54
5.3.190.0070.04314.45
5.3.180.0230.02314.61
5.3.170.0070.04314.60
5.3.160.0100.03714.48
5.3.150.0100.03714.58
5.3.140.0130.03314.57
5.3.130.0030.04314.44
5.3.120.0100.04014.48
5.3.110.0070.04014.46
5.3.100.0000.06013.93
5.3.90.0070.03713.91
5.3.80.0070.03713.89
5.3.70.0070.03714.06
5.3.60.0000.04313.92
5.3.50.0030.04013.98
5.3.40.0070.03713.87
5.3.30.0130.03313.95
5.3.20.0030.05313.54
5.3.10.0030.04013.68
5.3.00.0070.05313.58
5.2.170.0000.04011.21
5.2.160.0070.03011.03
5.2.150.0030.03311.14
5.2.140.0000.03711.10
5.2.130.0070.03011.06
5.2.120.0070.03011.01
5.2.110.0000.03311.07
5.2.100.0070.03010.96
5.2.90.0070.03010.96
5.2.80.0070.03011.18
5.2.70.0070.03010.96
5.2.60.0130.02310.90
5.2.50.0170.02010.88
5.2.40.0070.03010.91
5.2.30.0130.02310.98
5.2.20.0030.03311.04
5.2.10.0100.02710.79
5.2.00.0070.03710.66
5.1.60.0000.0279.91
5.1.50.0000.0309.97
5.1.40.0030.02710.01
5.1.30.0070.02310.29
5.1.20.0100.02310.46
5.1.10.0100.03010.05
5.1.00.0030.03310.18
5.0.50.0070.0208.48
5.0.40.0030.0238.41
5.0.30.0070.0308.19
5.0.20.0070.0238.28
5.0.10.0070.0178.13
5.0.00.0070.0308.19
4.4.90.0030.0205.82
4.4.80.0070.0135.87
4.4.70.0170.0035.84
4.4.60.0030.0175.80
4.4.50.0100.0105.82
4.4.40.0030.0235.88
4.4.30.0030.0175.83
4.4.20.0030.0135.89
4.4.10.0030.0175.87
4.4.00.0070.0235.89
4.3.110.0100.0075.74
4.3.100.0030.0175.77
4.3.90.0000.0175.74
4.3.80.0000.0305.75
4.3.70.0000.0175.73
4.3.60.0070.0175.76
4.3.50.0070.0205.85
4.3.40.0070.0235.76
4.3.30.0000.0174.49
4.3.20.0030.0134.57
4.3.10.0000.0174.49
4.3.00.0070.0206.89

preferences:
152.15 ms | 1578 KiB | 7 Q