3v4l.org

run code in 300+ PHP versions simultaneously
<?php function drop() { global $test_end; $test_end = "ready"; } drop(); echo $test_end;

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.5.00.0140.00820.08
8.4.150.0020.00114.05
8.4.140.0120.00917.45
8.4.130.0130.00817.35
8.4.120.0090.01120.51
8.4.110.0060.00418.75
8.4.100.0080.00719.00
8.4.90.0120.00820.53
8.4.80.0100.00418.86
8.4.70.0090.01019.03
8.4.60.0140.00718.58
8.4.50.0140.00520.29
8.4.40.0100.01019.33
8.4.30.0050.00318.83
8.4.20.0060.01319.13
8.4.10.0130.00317.50
8.3.280.0020.00014.05
8.3.270.0090.01016.50
8.3.260.0140.00616.35
8.3.250.0100.00816.80
8.3.240.0100.00316.56
8.3.230.0100.00516.55
8.3.220.0070.00918.67
8.3.210.0030.00418.41
8.3.200.0050.00316.35
8.3.190.0150.00519.04
8.3.180.0110.00718.67
8.3.170.0140.00316.56
8.3.160.0070.01017.34
8.3.150.0160.00316.50
8.3.140.0090.00918.88
8.3.130.0080.00018.48
8.3.120.0000.00818.78
8.3.110.0040.00420.94
8.3.100.0000.00918.30
8.3.90.0060.00326.77
8.3.80.0060.00316.36
8.3.70.0070.00716.58
8.3.60.0100.01018.55
8.3.50.0110.00517.41
8.3.40.0120.00318.59
8.3.30.0110.00418.73
8.3.20.0000.00920.64
8.3.10.0040.00420.21
8.3.00.0040.00420.70
8.2.290.0110.00716.55
8.2.280.0130.00518.32
8.2.270.0070.01017.00
8.2.260.0070.00718.39
8.2.250.0120.00916.71
8.2.240.0000.00816.36
8.2.230.0030.00622.58
8.2.220.0040.00424.06
8.2.210.0040.00426.77
8.2.200.0060.00318.41
8.2.190.0080.00818.29
8.2.180.0040.01518.16
8.2.170.0070.00722.96
8.2.160.0090.00620.39
8.2.150.0100.00024.18
8.2.140.0020.00524.66
8.2.130.0040.00426.16
8.2.120.0030.00626.16
8.2.110.0040.00722.08
8.2.100.0100.00317.64
8.2.90.0050.00319.23
8.2.80.0050.00317.97
8.2.70.0040.00419.66
8.2.60.0000.00818.03
8.2.50.0060.00318.10
8.2.40.0050.00219.41
8.2.30.0040.00419.17
8.2.20.0040.00417.97
8.2.10.0000.00719.32
8.2.00.0070.00019.15
8.1.330.0120.00715.79
8.1.320.0110.01016.19
8.1.310.0060.00315.88
8.1.300.0100.00718.58
8.1.290.0040.00830.84
8.1.280.0070.01025.92
8.1.270.0040.00423.96
8.1.260.0070.00026.35
8.1.250.0060.00328.09
8.1.240.0060.00323.92
8.1.230.0070.00320.31
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0090.00017.23
8.1.190.0030.00617.10
8.1.180.0030.00718.10
8.1.170.0050.00320.89
8.1.160.0040.00418.98
8.1.150.0040.00418.82
8.1.140.0040.00420.16
8.1.130.0070.00020.05
8.1.120.0000.00717.43
8.1.110.0090.00317.34
8.1.100.0050.00217.41
8.1.90.0030.00317.36
8.1.80.0030.00317.43
8.1.70.0050.00317.33
8.1.60.0000.00817.52
8.1.50.0020.00517.39
8.1.40.0080.00317.50
8.1.30.0040.00417.65
8.1.20.0000.00717.52
8.1.10.0080.00017.38
8.1.00.0040.00417.32
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.30
8.0.270.0040.00417.23
8.0.260.0080.00019.90
8.0.250.0030.00616.85
8.0.240.0030.00316.82
8.0.230.0000.00716.90
8.0.220.0030.00316.81
8.0.210.0000.00716.81
8.0.200.0000.00716.82
8.0.190.0050.00216.88
8.0.180.0040.00416.80
8.0.170.0000.00816.87
8.0.160.0000.00716.71
8.0.150.0000.00816.77
8.0.140.0040.00416.80
8.0.130.0050.00013.20
8.0.120.0040.00416.81
8.0.110.0070.00016.81
8.0.100.0040.00416.73
8.0.90.0030.00616.72
8.0.80.0090.00516.86
8.0.70.0000.00716.71
8.0.60.0000.00816.64
8.0.50.0080.00016.61
8.0.30.0030.01316.93
8.0.20.0110.00716.96
8.0.10.0030.00516.94
8.0.00.0110.00716.59
7.4.330.0050.00016.79
7.4.320.0030.00316.50
7.4.300.0040.00416.58
7.4.290.0000.00716.39
7.4.280.0030.00316.63
7.4.270.0070.00016.41
7.4.260.0000.00613.18
7.4.250.0030.00316.55
7.4.240.0000.00716.52
7.4.230.0030.00316.42
7.4.220.0030.00416.40
7.4.210.0080.00916.58
7.4.200.0040.00416.57
7.4.130.0040.01416.51
7.4.120.0100.00616.45
7.4.110.0110.00616.45
7.4.100.0110.00816.58
7.4.90.0120.00616.45
7.4.80.0040.01519.39
7.4.70.0060.01116.20
7.4.60.0070.01016.41
7.4.50.0060.00916.48
7.4.40.0100.00716.49
7.4.00.0060.00614.96
7.3.330.0030.00316.19
7.3.320.0030.00313.15
7.3.310.0030.00316.17
7.3.300.0030.00316.30
7.3.290.0110.00416.29
7.3.280.0140.00016.26
7.3.260.0140.01016.49
7.3.240.0090.00816.41
7.3.230.0060.01016.25
7.3.210.0060.01016.52
7.3.200.0170.00616.71
7.3.190.0060.01216.22
7.3.180.0090.00716.48
7.3.170.0060.00916.61
7.3.160.0070.01416.70
7.3.100.0070.00714.84
7.3.90.0100.00714.85
7.3.80.0030.01014.88
7.3.70.0110.00814.83
7.3.60.0060.01314.66
7.3.50.0070.00714.95
7.3.40.0100.00314.86
7.3.30.0120.00614.64
7.3.20.0110.00414.64
7.3.10.0060.00914.47
7.3.00.0030.01614.85
7.2.330.0140.00616.27
7.2.320.0030.01316.59
7.2.310.0090.00616.48
7.2.300.0150.00916.58
7.2.290.0030.01316.66
7.2.230.0040.01114.94
7.2.220.0060.00915.01
7.2.210.0070.00715.08
7.2.200.0120.00915.00
7.2.190.0050.00914.93
7.2.180.0130.00015.01
7.2.170.0070.00714.81
7.2.160.0000.01815.12
7.2.150.0150.00614.83
7.2.140.0090.00615.00
7.2.130.0150.00614.71
7.2.120.0200.01014.98
7.2.110.0030.01415.00
7.2.100.0180.00414.65
7.2.90.0060.01514.89
7.2.80.0120.00915.09
7.2.70.0040.01114.99
7.2.60.0090.01314.99
7.2.50.0090.01214.98
7.2.40.0090.01215.00
7.2.30.0060.01514.76
7.2.20.0090.00914.91
7.2.10.0060.00914.91
7.2.00.0060.00914.98
7.1.320.0070.00714.04
7.1.310.0050.00813.68
7.1.300.0070.00713.89
7.1.290.0110.00313.64
7.1.280.0110.00513.98
7.1.270.0090.00613.82
7.1.260.0070.00713.88
7.1.250.0060.01213.77

preferences:
30.19 ms | 403 KiB | 5 Q