3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('error_reporting', 1); $a = array(); $a['ini_get'] = ini_get('error_reporting'); $a['error_reporting'] = error_reporting(); $a['@ini_get'] = @ini_get('error_reporting'); $a['@error_reporting'] = @error_reporting(); var_export($a);

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.0150.00018.31
8.3.50.0110.00319.94
8.3.40.0160.00618.67
8.3.30.0110.00418.50
8.3.20.0040.00420.33
8.3.10.0030.00623.61
8.3.00.0040.00419.94
8.2.180.0150.00418.54
8.2.170.0040.01122.96
8.2.160.0140.00719.04
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0060.00319.30
8.2.120.0040.00426.35
8.2.110.0070.00421.10
8.2.100.0080.00318.34
8.2.90.0040.00419.35
8.2.80.0000.00817.97
8.2.70.0050.00318.05
8.2.60.0040.00418.05
8.2.50.0040.00418.22
8.2.40.0000.00822.30
8.2.30.0040.00419.55
8.2.20.0000.00818.12
8.2.10.0000.00818.18
8.2.00.0000.00718.28
8.1.280.0110.00425.92
8.1.270.0040.00420.43
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0120.00919.21
8.1.230.0000.01120.28
8.1.220.0080.00017.74
8.1.210.0050.00518.77
8.1.200.0030.00617.25
8.1.190.0040.00418.94
8.1.180.0000.00918.10
8.1.170.0000.00818.64
8.1.160.0000.00818.88
8.1.150.0040.00418.50
8.1.140.0000.00717.61
8.1.130.0030.00318.92
8.1.120.0050.00317.34
8.1.110.0040.00417.44
8.1.100.0030.00517.45
8.1.90.0000.00717.38
8.1.80.0070.00017.46
8.1.70.0030.00317.47
8.1.60.0030.00617.61
8.1.50.0080.00017.39
8.1.40.0040.00417.54
8.1.30.0080.00017.54
8.1.20.0040.00417.59
8.1.10.0060.00317.45
8.1.00.0080.00017.47
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.48
8.0.270.0030.00317.14
8.0.260.0000.00616.89
8.0.250.0030.00317.00
8.0.240.0070.00016.81
8.0.230.0000.00716.91
8.0.220.0030.00316.88
8.0.210.0000.00716.75
8.0.200.0070.00016.92
8.0.190.0040.00416.84
8.0.180.0050.00216.92
8.0.170.0040.00416.94
8.0.160.0000.00816.78
8.0.150.0030.00316.76
8.0.140.0070.00016.85
8.0.130.0060.00013.27
8.0.120.0000.00716.84
8.0.110.0040.00416.88
8.0.100.0030.00516.77
8.0.90.0070.00016.85
8.0.80.0070.01316.95
8.0.70.0020.00516.70
8.0.60.0040.00416.91
8.0.50.0080.00016.87
8.0.30.0120.00617.10
8.0.20.0120.01517.40
8.0.10.0000.00717.02
8.0.00.0070.01316.66
7.4.330.0000.00515.55
7.4.320.0030.00316.58
7.4.300.0000.00716.54
7.4.290.0060.00316.48
7.4.280.0040.00416.48
7.4.270.0000.00716.48
7.4.260.0040.00416.48
7.4.250.0000.00816.45
7.4.240.0000.00716.48
7.4.230.0070.00016.59
7.4.220.0000.00716.50
7.4.210.0060.00816.51
7.4.200.0040.00416.69
7.4.160.0090.00816.54
7.4.150.0150.00317.40
7.4.140.0160.00617.86
7.4.130.0090.00916.55
7.4.120.0110.00716.42
7.4.110.0100.01016.57
7.4.100.0110.01216.47
7.4.90.0060.01216.66
7.4.80.0130.01319.39
7.4.70.0130.00916.55
7.4.60.0090.00616.48
7.4.50.0040.00816.54
7.4.40.0090.00616.61
7.4.00.0150.00014.68
7.3.330.0060.00013.11
7.3.320.0030.00313.12
7.3.310.0000.00616.13
7.3.300.0040.00416.29
7.3.290.0000.00616.19
7.3.280.0080.00816.21
7.3.270.0160.00017.40
7.3.260.0080.01116.32
7.3.250.0110.00816.34
7.3.240.0090.01016.46
7.3.230.0030.01416.18
7.3.210.0090.00916.43
7.3.200.0000.01616.63
7.3.190.0080.00816.18
7.3.180.0150.00016.57
7.3.170.0100.00716.43
7.3.160.0030.01316.19
7.3.10.0110.00416.71
7.3.00.0080.00616.64
7.2.330.0070.01016.39
7.2.320.0040.01816.61
7.2.310.0030.01316.47
7.2.300.0120.00916.55
7.2.290.0100.00616.73
7.2.130.0070.00716.70
7.2.120.0070.00716.93
7.2.110.0040.01516.95
7.2.100.0040.01216.66
7.2.90.0080.00816.38
7.2.80.0040.01216.54
7.2.70.0070.00316.52
7.2.60.0070.00717.00
7.2.50.0060.00616.76
7.2.40.0040.00816.82
7.2.30.0060.00616.77
7.2.20.0090.00917.44
7.2.10.0310.01617.15
7.2.00.0150.00317.18
7.1.250.0070.00715.61
7.1.200.0000.01315.80
7.1.140.0190.00616.99
7.1.130.0360.01016.85
7.1.120.0410.01416.80
7.1.110.0440.01616.04
7.1.100.0160.01015.98
7.1.90.0520.01315.80
7.1.80.0410.01216.17
7.1.70.0630.01315.25
7.1.60.0680.01032.85
7.1.50.0660.02232.51
7.1.40.0710.01032.44
7.1.30.0400.01032.61
7.1.20.0650.02332.91
7.1.10.0540.01414.62
7.1.00.0520.01514.75

preferences:
58.53 ms | 401 KiB | 5 Q