3v4l.org

run code in 300+ PHP versions simultaneously
<?php $debug = true; $context = []; $something = $debug && $context['debug'] ?? true; $something2 = $debug && ($context['debug'] ?? true); echo '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.3.60.0170.00318.56
8.3.50.0150.00616.31
8.3.40.0040.01218.88
8.3.30.0090.00918.69
8.3.20.0060.00322.66
8.3.10.0060.00320.16
8.3.00.0070.00021.74
8.2.180.0110.00318.69
8.2.170.0070.00722.96
8.2.160.0070.00720.52
8.2.150.0030.00624.18
8.2.140.0000.00724.66
8.2.130.0080.00026.16
8.2.120.0050.00321.00
8.2.110.0080.00421.02
8.2.100.0060.00617.75
8.2.90.0040.00419.17
8.2.80.0030.00617.97
8.2.70.0040.00419.77
8.2.60.0000.00818.28
8.2.50.0050.00318.10
8.2.40.0060.00319.44
8.2.30.0000.00719.23
8.2.20.0000.00718.09
8.2.10.0040.00419.29
8.2.00.0040.00419.32
8.1.280.0070.01025.92
8.1.270.0070.00722.19
8.1.260.0050.00326.35
8.1.250.0040.01128.09
8.1.240.0090.00020.94
8.1.230.0060.00617.48
8.1.220.0060.00317.79
8.1.210.0040.00418.77
8.1.200.0070.00317.23
8.1.190.0040.00417.10
8.1.180.0090.00019.03
8.1.170.0040.00418.71
8.1.160.0000.00718.91
8.1.150.0000.00818.93
8.1.140.0030.00322.13
8.1.130.0040.00417.31
8.1.120.0030.00317.48
8.1.110.0040.00417.46
8.1.100.0000.00817.40
8.1.90.0000.00817.49
8.1.80.0040.00417.50
8.1.70.0030.00317.40
8.1.60.0020.00517.59
8.1.50.0080.00017.49
8.1.40.0030.00517.48
8.1.30.0000.00717.50
8.1.20.0060.00617.63
8.1.10.0050.00317.48
8.1.00.0040.00417.36
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0040.00418.46
8.0.270.0050.00316.90
8.0.260.0030.00316.75
8.0.250.0000.00817.04
8.0.240.0070.00016.88
8.0.230.0040.00417.02
8.0.220.0030.00616.96
8.0.210.0000.00716.91
8.0.200.0050.00216.84
8.0.190.0000.00716.96
8.0.180.0000.00816.88
8.0.170.0060.00316.98
8.0.160.0000.00716.94
8.0.150.0000.00716.80
8.0.140.0000.00716.89
8.0.130.0030.00313.41
8.0.120.0000.00716.92
8.0.110.0050.00216.89
8.0.100.0020.00516.83
8.0.90.0030.00616.77
8.0.80.0030.01316.91
8.0.70.0050.00516.88
8.0.60.0000.00816.97
8.0.50.0070.00016.88
8.0.30.0060.00916.88
8.0.20.0100.01716.98
8.0.10.0040.00416.95
8.0.00.0170.00716.87
7.4.330.0000.00515.55
7.4.320.0030.00316.55
7.4.300.0040.00416.59
7.4.290.0030.00516.48
7.4.280.0000.01016.62
7.4.270.0030.00316.50
7.4.260.0000.00513.20
7.4.250.0000.00716.54
7.4.240.0040.00316.49
7.4.230.0000.00716.56
7.4.220.0020.00516.42
7.4.210.0060.01016.51
7.4.200.0030.00316.46
7.4.130.0110.00716.34
7.4.120.0060.01316.43
7.4.110.0060.01216.59
7.4.100.0160.00816.58
7.4.90.0030.01416.75
7.4.80.0090.00919.39
7.4.70.0070.01316.30
7.4.60.0090.00616.51
7.4.50.0070.00716.50
7.4.40.0060.00916.64
7.4.10.0070.00714.78
7.4.00.0070.00914.71
7.3.330.0000.00716.09
7.3.320.0050.00013.24
7.3.310.0000.00716.20
7.3.300.0030.00316.22
7.3.290.0050.01016.27
7.3.280.0090.00616.25
7.3.260.0120.00616.43
7.3.240.0110.00816.47
7.3.230.0130.00316.27
7.3.210.0120.00616.50
7.3.200.0070.01016.42
7.3.190.0030.01316.60
7.3.180.0100.00616.30
7.3.170.0050.01116.51
7.3.160.0080.00816.46
7.3.130.0090.00814.68
7.3.120.0090.00714.74
7.3.110.0090.00614.70
7.3.100.0080.00914.69
7.3.90.0080.00614.54
7.3.80.0080.00714.64
7.3.70.0110.00514.65
7.3.60.0070.00814.59
7.3.50.0070.01114.56
7.3.40.0090.00914.67
7.3.30.0120.00514.78
7.3.20.0080.00814.61
7.3.10.0050.01314.85
7.3.00.0120.00414.62
7.2.330.0100.00716.56
7.2.320.0090.00916.76
7.2.310.0090.00616.62
7.2.300.0110.01216.36
7.2.290.0120.00916.64
7.2.260.0110.00614.68
7.2.250.0090.00714.75
7.2.240.0080.00914.80
7.2.230.0070.00814.84
7.2.220.0110.00414.71
7.2.210.0050.01114.62
7.2.200.0100.00714.87
7.2.190.0100.00714.64
7.2.180.0090.00914.75
7.2.170.0090.00814.71
7.2.160.0090.00914.73
7.2.150.0080.01014.79
7.2.140.0100.00814.84
7.2.130.0050.01414.78
7.2.120.0080.00914.74
7.2.110.0080.01314.92
7.2.100.0080.00814.60
7.2.90.0090.00914.71
7.2.80.0140.00614.87
7.2.70.0180.01214.67
7.2.60.0110.00714.81
7.2.50.0100.00814.79
7.2.40.0080.00914.91
7.2.30.0060.01014.81
7.2.20.0110.00914.93
7.2.10.0110.00714.91
7.2.00.0060.00914.77
7.1.330.0090.00913.95
7.1.320.0090.00513.60
7.1.310.0030.01013.48
7.1.300.0120.00513.94
7.1.290.0050.00813.98
7.1.280.0110.00413.88
7.1.270.0070.00513.94
7.1.260.0110.00513.59

preferences:
71.83 ms | 401 KiB | 5 Q