3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o1 = new stdClass(); $o1->allow_basic = 'foo'; echo $o1->allow_basic;

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)
8.4.120.0150.00420.63
8.4.110.0050.00422.30
8.4.100.0130.01017.66
8.4.90.0120.00619.52
8.4.80.0110.00720.59
8.4.70.0080.01018.02
8.4.60.0140.00618.85
8.4.50.0050.00420.43
8.4.40.0140.00717.61
8.4.30.0040.01520.45
8.4.20.0100.01017.95
8.4.10.0040.00423.81
8.3.250.0120.00818.80
8.3.240.0090.00916.46
8.3.230.0130.00616.45
8.3.220.0110.00818.94
8.3.210.0030.00518.44
8.3.200.0040.00516.58
8.3.190.0080.00917.29
8.3.180.0120.00717.27
8.3.170.0120.00620.78
8.3.160.0060.01219.13
8.3.150.0100.00317.19
8.3.140.0090.00916.61
8.3.130.0070.00817.19
8.3.120.0240.00417.48
8.3.110.0160.01116.42
8.3.100.0260.00220.18
8.3.90.0220.00621.53
8.3.80.0240.00921.94
8.3.70.0220.01021.89
8.3.60.0280.00621.86
8.3.50.0180.01021.42
8.3.40.0180.00822.86
8.3.30.0180.00730.99
8.3.20.0170.00524.06
8.3.10.0140.00824.25
8.3.00.0160.00524.88
8.2.290.0150.00420.47
8.2.280.0120.00718.61
8.2.270.0070.00318.93
8.2.260.0080.00316.46
8.2.250.0030.00718.28
8.2.240.0140.00016.63
8.2.230.0140.00218.70
8.2.220.0070.00827.10
8.2.210.0140.00421.68
8.2.200.0190.00621.28
8.2.190.0220.00721.35
8.2.180.0140.00721.23
8.2.170.0210.00422.46
8.2.160.0180.00323.73
8.2.150.0200.00424.72
8.2.140.0210.00524.34
8.2.130.0180.00424.87
8.2.120.0260.00420.61
8.2.110.0160.01022.74
8.2.100.0210.00921.88
8.2.90.0180.00822.01
8.2.80.0240.00822.36
8.2.70.0210.01042.42
8.2.60.0250.00742.54
8.2.50.0240.00942.50
8.2.40.0250.00642.56
8.2.30.0210.00642.48
8.2.20.0200.01342.56
8.2.10.0230.00942.46
8.2.00.0340.00542.46
8.1.330.0140.00323.56
8.1.320.0080.01316.01
8.1.310.0080.01116.86
8.1.300.0210.00718.14
8.1.290.0230.01025.83
8.1.280.0260.00724.23
8.1.270.0270.00723.30
8.1.260.0260.00724.79
8.1.250.0240.00725.38
8.1.240.0220.00424.04
8.1.230.0210.00822.90
8.1.220.0230.00521.92
8.1.210.0180.00922.32
8.1.200.0180.00842.46
8.1.190.0200.00442.43
8.1.180.0230.00142.47
8.1.170.0220.00542.36
8.1.160.0160.00942.43
8.1.150.0160.00942.38
8.1.140.0190.00542.47
8.1.130.0170.00742.42
8.1.120.0210.00542.44
8.1.110.0190.00442.50
8.1.100.0200.00542.42
8.1.90.0190.00542.46
8.1.80.0220.00842.49
8.1.70.0270.00142.38
8.1.60.0200.01042.46
8.1.50.0230.00542.48
8.1.40.0230.00942.47
8.1.30.0260.00842.51
8.1.20.0250.00642.45
8.1.10.0280.00742.42
8.1.00.0240.00332.91
8.0.300.0230.00622.43
8.0.290.0220.00742.28
8.0.280.0210.00542.19
8.0.270.0200.00342.22
8.0.260.0150.01042.24
8.0.250.0170.00742.27
8.0.240.0200.00542.27
8.0.230.0190.00442.26
8.0.220.0170.00642.25
8.0.210.0170.00742.22
8.0.200.0190.00442.28
8.0.190.0180.00842.21
8.0.180.0260.00642.21
8.0.170.0260.00642.23
8.0.160.0250.00742.25
8.0.150.0240.00842.20
8.0.140.0180.00842.13
8.0.130.0230.00742.21
8.0.120.0210.00442.25
8.0.110.0210.00342.22
8.0.100.0220.00342.18
8.0.90.0190.00542.19
8.0.80.0170.00742.11
8.0.70.0200.00342.18
8.0.60.0140.00842.21
8.0.50.0150.00742.14
8.0.30.0170.00642.18
8.0.20.0200.00542.15
8.0.10.0250.00242.25
7.4.330.0180.00916.24

preferences:
26.13 ms | 403 KiB | 5 Q