3v4l.org

run code in 300+ PHP versions simultaneously
<?php register_shutdown_function(function() { vardump(error_get_last()); echo extension_loaded('xdebug') ? 'you had xdebug enabled, consider disabling it!' : ''; }); ini_set('memory_limit', '2M'); str_repeat('a', 999999999);

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.70.0120.00918.43
8.3.60.0090.00916.88
8.3.50.0140.00921.84
8.3.40.0170.00318.76
8.3.30.0040.01118.89
8.3.20.0040.00420.04
8.3.10.0030.00623.48
8.3.00.0000.00819.38
8.2.180.0120.00616.63
8.2.170.0150.00622.96
8.2.160.0110.00420.27
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00019.36
8.2.120.0000.00826.35
8.2.110.0000.01121.11
8.2.100.0080.00317.93
8.2.90.0000.00819.22
8.2.80.0070.00417.97
8.2.70.0090.00017.49
8.2.60.0040.00417.80
8.2.50.0050.00318.07
8.2.40.0000.00719.39
8.2.30.0030.00320.45
8.2.20.0040.00417.87
8.2.10.0000.00817.94
8.2.00.0000.00817.94
8.1.280.0130.00725.92
8.1.270.0070.00322.14
8.1.260.0050.00228.09
8.1.250.0070.00028.09
8.1.240.0060.00320.96
8.1.230.0000.01017.66
8.1.220.0030.00617.79
8.1.210.0050.00318.77
8.1.200.0040.00417.36
8.1.190.0000.00817.23
8.1.180.0060.00318.10
8.1.170.0040.00418.71
8.1.160.0000.00722.09
8.1.150.0040.00418.70
8.1.140.0050.00319.46
8.1.130.0000.00717.70
8.1.120.0040.00417.48
8.1.110.0070.00017.38
8.1.100.0000.00717.29
8.1.90.0000.00817.30
8.1.80.0050.00417.29
8.1.70.0070.00017.23
8.1.60.0050.00217.56
8.1.50.0040.00417.38
8.1.40.0000.00817.45
8.1.30.0040.00417.61
8.1.20.0000.00817.58
8.1.10.0040.00417.42
8.1.00.0040.00417.46
8.0.300.0060.00318.77
8.0.290.0040.00416.63
8.0.280.0030.00318.37
8.0.270.0000.00717.13
8.0.260.0000.00617.04
8.0.250.0050.00216.98
8.0.240.0040.00416.95
8.0.230.0030.00316.91
8.0.220.0040.00416.90
8.0.210.0030.00316.90
8.0.200.0030.00317.02
8.0.190.0000.00716.91
8.0.180.0050.00216.94
8.0.170.0040.00416.89
8.0.160.0030.00316.93
8.0.150.0040.00416.84
8.0.140.0040.00316.73
8.0.130.0040.00413.42
8.0.120.0030.00516.96
8.0.110.0000.00717.01
8.0.100.0040.00416.89
8.0.90.0000.00816.93
8.0.80.0030.01216.90
8.0.70.0000.00816.77
8.0.60.0070.00016.86
8.0.50.0000.00716.96
8.0.30.0090.00916.94
8.0.20.0070.01217.40
8.0.10.0040.00417.07
8.0.00.0090.01016.67
7.4.330.0000.00516.81
7.4.320.0060.00016.42
7.4.300.0000.00716.49
7.4.290.0040.00416.33
7.4.280.0000.00716.49
7.4.270.0070.00016.58
7.4.260.0030.00316.43
7.4.250.0040.00316.53
7.4.240.0040.00416.50
7.4.230.0000.00716.55
7.4.220.0090.01216.37
7.4.210.0070.01016.53
7.4.200.0050.00216.61
7.4.160.0060.00916.43
7.4.150.0100.00717.40
7.4.140.0170.00817.86
7.4.130.0100.00916.53
7.4.120.0120.00616.51
7.4.110.0100.00716.29
7.4.100.0190.00016.50
7.4.90.0070.01116.34
7.4.80.0080.00819.39
7.4.70.0140.00616.41
7.4.60.0090.00616.47
7.4.50.0000.01116.58
7.4.40.0090.00816.51
7.4.30.0090.01216.52
7.4.00.0100.00315.14
7.3.330.0060.00013.12
7.3.320.0000.00713.21
7.3.310.0060.00316.10
7.3.300.0060.00016.17
7.3.290.0030.00316.29
7.3.280.0080.00716.26
7.3.270.0100.00717.40
7.3.260.0070.01016.55
7.3.250.0100.00916.45
7.3.240.0120.00516.34
7.3.230.0060.01316.39
7.3.210.0100.00716.55
7.3.200.0070.01016.44
7.3.190.0030.01316.40
7.3.180.0070.01016.39
7.3.170.0060.01516.48
7.3.160.0060.00916.54
7.3.10.0100.00616.04
7.3.00.0090.00616.33
7.2.330.0150.00416.68
7.2.320.0040.01816.76
7.2.310.0090.00916.55
7.2.300.0110.00716.60
7.2.290.0030.01316.49
7.2.130.0070.01116.78
7.2.120.0060.01316.25
7.2.110.0100.01716.63
7.2.100.0120.00916.52
7.2.90.0120.00616.43
7.2.80.0120.00616.52
7.2.70.0090.00616.77
7.2.60.0080.01116.50
7.2.50.0150.01116.30
7.2.40.0160.00516.68
7.2.30.0170.00716.50
7.2.20.0110.00816.71
7.2.10.0150.00716.50
7.2.00.0110.00918.05
7.1.250.0130.00815.10
7.1.200.0080.00015.32
7.1.100.0030.01217.90
7.1.70.0080.01217.21
7.1.60.0030.02019.36
7.1.50.0000.01316.88
7.1.00.0130.06722.39
7.0.200.0000.00816.68
7.0.60.0070.03719.86
7.0.50.0100.04717.83
7.0.40.0070.05320.23
7.0.30.0500.05720.25
7.0.20.0230.05020.15
7.0.10.0030.05320.39
7.0.00.0000.04320.16
5.6.280.0000.03321.05
5.6.210.0030.04320.68
5.6.200.0130.05018.16
5.6.190.0030.07320.41
5.6.180.0530.06320.48
5.6.170.0230.07720.54
5.6.160.0130.07720.50
5.6.150.0030.06018.13
5.6.140.0070.08318.26
5.6.130.0170.05018.23
5.6.120.0100.07321.03
5.6.110.0130.07720.89
5.6.100.0070.09021.01
5.6.90.0000.04321.10
5.6.80.0100.04720.51
5.5.350.4270.04320.43
5.5.340.0070.06718.09
5.5.330.0130.05720.35
5.5.320.0030.05320.29
5.5.310.0330.08020.30
5.5.300.0030.04318.03
5.5.290.0070.06017.98
5.5.280.0200.07020.77
5.5.270.0100.08020.80
5.5.260.0070.07020.76
5.5.250.0000.04720.68
5.5.240.0170.03720.16

preferences:
45.63 ms | 401 KiB | 5 Q