3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 'Hello, World!'; var_dump($foo{0});

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.2.10.0050.00419.89
8.2.00.0120.00618.82
8.1.140.0130.00318.43
8.1.130.0140.00418.43
8.1.120.0090.00918.44
8.1.110.0160.00018.56
8.1.100.0170.00018.60
8.1.90.0140.00318.57
8.1.80.0100.00618.57
8.1.70.0170.00018.60
8.1.60.0130.01018.66
8.1.50.0150.00518.66
8.1.40.0070.01518.68
8.1.30.0230.00018.55
8.1.20.0190.00318.74
8.1.10.0100.01518.58
8.1.00.0070.00617.45
8.0.270.0090.00617.98
8.0.260.0040.00717.93
8.0.250.0060.00617.90
8.0.240.0140.00317.98
8.0.230.0170.00017.91
8.0.220.0110.00917.99
8.0.210.0220.00017.98
8.0.200.0130.00217.95
8.0.190.0190.00017.91
8.0.180.0090.00617.99
8.0.170.0080.00818.06
8.0.160.0090.00918.00
8.0.150.0110.00617.98
8.0.140.0130.00317.84
8.0.130.0120.00617.26
8.0.120.0160.00217.38
8.0.110.0170.00117.38
8.0.100.0130.00517.40
8.0.90.0150.00317.37
8.0.80.0150.00317.37
8.0.70.0120.00517.30
8.0.60.0120.00517.22
8.0.50.0100.00817.29
8.0.30.0140.00317.31
8.0.20.0130.00517.39
8.0.10.0140.00417.49
8.0.00.0070.00517.42
7.4.330.0130.00316.30
7.4.320.0130.00517.46
7.4.300.0080.00817.51
7.4.290.0080.00817.52
7.4.280.0110.00817.64
7.4.270.0080.00517.06
7.4.260.0190.00216.94
7.4.250.0150.00317.10
7.4.240.0180.00316.96
7.4.230.0140.00416.98
7.4.220.0110.00517.02
7.4.210.0150.00216.98
7.4.200.0180.00016.96
7.4.190.0140.00217.05
7.4.180.0130.00417.00
7.4.160.0130.00417.03
7.4.150.0110.00616.97
7.4.140.0090.00716.93
7.4.130.0150.00116.87
7.4.120.0100.00716.93
7.4.110.0130.00416.86
7.4.100.0100.00717.08
7.4.90.0150.00316.89
7.4.80.0150.00116.95
7.4.70.0130.00317.00
7.4.60.0130.00416.92
7.4.50.0150.00116.83
7.4.40.0140.00316.82
7.4.30.0130.00416.90
7.4.20.0110.00516.78
7.4.10.0160.00016.88
7.4.00.0140.00316.85
7.3.330.0120.00416.75
7.3.320.0140.00116.80
7.3.310.0110.00516.62
7.3.300.0140.00316.76
7.3.290.0160.00216.60
7.3.280.0130.00416.79
7.3.270.0130.00516.65
7.3.260.0120.00516.66
7.3.250.0090.00516.62
7.3.240.0090.00416.79
7.3.230.0060.00816.68
7.3.220.0120.00316.53
7.3.210.0130.00416.71
7.3.200.0070.00716.68
7.3.190.0080.00316.63
7.3.180.0100.00216.61
7.3.170.0060.00516.62
7.3.160.0090.00116.58
7.3.150.0050.00616.61
7.3.140.0040.00816.74
7.3.130.0090.00216.56

preferences:
152.28 ms | 1068 KiB | 8 Q