3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'abc'; $GLOBALS['a'] = 123; echo $a;// 123

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.3.140.0140.00018.20
8.3.130.0040.00418.23
8.3.120.0000.00920.80
8.3.110.0090.00320.94
8.3.100.0060.00316.56
8.3.90.0000.01426.77
8.3.80.0060.00619.36
8.3.70.0040.01518.31
8.3.60.0130.00618.30
8.3.50.0100.00624.38
8.3.40.0070.01321.88
8.3.30.0130.01018.43
8.3.20.0050.00324.18
8.3.10.0080.00024.66
8.3.00.0000.00826.16
8.2.260.0130.01018.20
8.2.250.0060.00316.75
8.2.240.0030.00617.00
8.2.230.0080.00022.58
8.2.220.0000.00824.06
8.2.210.0000.00726.77
8.2.200.0090.00018.88
8.2.190.0070.01018.26
8.2.180.0200.00025.92
8.2.170.0040.01122.96
8.2.160.0120.00622.96
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0050.00220.87
8.2.110.0060.00320.40
8.2.100.0060.00619.63
8.2.90.0040.00417.75
8.2.80.0050.00318.78
8.2.70.0030.00617.63
8.2.60.0000.00917.63
8.2.50.0000.00818.05
8.2.40.0040.00418.16
8.2.30.0050.00318.09
8.2.20.0000.00718.18
8.2.10.0050.00319.23
8.2.00.0000.00719.30
8.1.300.0090.00318.04
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0020.00526.35
8.1.250.0040.00428.09
8.1.240.0070.00420.83
8.1.230.0080.00317.77
8.1.220.0080.00017.79
8.1.210.0000.00818.77
8.1.200.0050.00317.35
8.1.190.0030.00617.11
8.1.180.0080.00018.10
8.1.170.0060.00318.54
8.1.160.0000.00718.88
8.1.150.0070.00018.88
8.1.140.0040.00418.85
8.1.130.0030.00320.14
8.1.120.0040.00417.35
8.1.110.0050.00317.37
8.1.100.0030.00517.35
8.1.90.0070.00017.36
8.1.80.0030.00817.44
8.1.70.0040.00417.43
8.1.60.0040.00417.55
8.1.50.0080.00017.49
8.1.40.0050.00317.40
8.1.30.0050.00317.65
8.1.20.0040.00417.59
8.1.10.0060.00317.48
8.1.00.0000.00817.31
8.0.300.0000.00718.91
8.0.290.0040.00416.75
8.0.280.0080.00018.35
8.0.270.0000.00717.93
8.0.260.0050.00318.55
8.0.250.0000.00616.88
8.0.240.0030.00316.93
8.0.230.0030.00316.98
8.0.220.0000.00716.94
8.0.210.0060.00016.86
8.0.200.0060.00016.81
8.0.190.0050.00316.87
8.0.180.0000.00716.79
8.0.170.0040.00416.91
8.0.160.0050.00216.92
8.0.150.0080.00016.75
8.0.140.0000.00716.71
8.0.130.0030.00313.35
8.0.120.0040.00416.85
8.0.110.0050.00316.77
8.0.100.0000.00716.77
8.0.90.0040.00416.75
8.0.80.0080.01016.87
8.0.70.0070.00016.89
8.0.60.0050.00316.89
8.0.50.0080.00016.82
8.0.30.0030.01317.18
8.0.20.0110.00917.21
8.0.10.0070.00016.87
8.0.00.0090.00916.97
7.4.330.0020.00215.55
7.4.320.0000.00616.50
7.4.300.0060.00016.39
7.4.290.0000.00816.43
7.4.280.0000.00716.55
7.4.270.0000.00716.63
7.4.260.0000.00513.25
7.4.250.0040.00416.36
7.4.240.0030.00316.60
7.4.230.0000.00716.29
7.4.220.0020.00516.49
7.4.210.0080.00616.50
7.4.200.0040.00416.57
7.4.130.0180.00316.27
7.4.120.0180.00316.57
7.4.110.0090.01516.45
7.4.100.0170.00416.55
7.4.90.0150.00316.51
7.4.80.0030.01316.45
7.4.70.0140.01116.47
7.4.60.0060.01116.42
7.4.50.0150.00916.59
7.4.40.0120.00616.45
7.4.30.0070.01116.53
7.4.20.0140.01116.50
7.4.10.0060.01216.35
7.4.00.0270.02216.48
7.3.330.0000.00716.41
7.3.320.0030.00312.98
7.3.310.0040.00416.08
7.3.300.0080.00016.29
7.3.290.0110.00716.27
7.3.260.0090.00916.50
7.3.250.0100.00716.37
7.3.240.0150.01116.46
7.3.230.0140.00416.43
7.3.220.0180.00016.43
7.3.210.0100.00716.49
7.3.200.0140.00716.56
7.3.190.0180.00616.27
7.3.180.0060.01116.71
7.3.170.0120.01216.33
7.3.160.0120.00616.28
7.3.150.0110.00816.43
7.3.140.0160.00316.19
7.3.130.0180.00016.53
7.3.120.0110.00716.39
7.3.110.0060.01216.59
7.3.100.0040.01716.31
7.3.90.0090.01216.18
7.3.80.0110.00716.39
7.3.70.0070.01116.22
7.3.60.0130.00516.16
7.3.50.0130.00416.36
7.3.40.0100.01016.40
7.3.30.0030.01616.38
7.3.20.0050.01416.35
7.3.10.0140.00316.15
7.3.00.0100.00716.41

preferences:
65.4 ms | 403 KiB | 5 Q