3v4l.org

run code in 300+ PHP versions simultaneously
<?php // For demo purpose $formValues['relocation'] =23; $formValues['europe'] = 1; Foreach($formValues as $key => $var){ $$key = $var; } Echo $relocation ."\n" . $europe;

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.0070.01118.31
8.3.50.0070.00716.48
8.3.40.0070.00718.98
8.3.30.0110.00418.59
8.3.20.0020.00520.34
8.3.10.0030.00621.96
8.3.00.0080.00020.95
8.2.180.0140.00718.13
8.2.170.0120.00322.96
8.2.160.0120.00319.22
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00019.83
8.2.120.0040.00426.35
8.2.110.0090.00922.07
8.2.100.0110.00019.63
8.2.90.0060.00317.84
8.2.80.0000.00817.97
8.2.70.0030.00617.98
8.2.60.0050.00318.05
8.2.50.0050.00318.10
8.2.40.0000.00720.47
8.2.30.0000.00819.21
8.2.20.0070.00018.02
8.2.10.0040.00418.08
8.2.00.0040.00418.21
8.1.280.0150.00325.92
8.1.270.0090.00021.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00422.01
8.1.230.0030.00821.04
8.1.220.0040.00417.78
8.1.210.0000.00818.77
8.1.200.0030.00717.13
8.1.190.0050.00317.22
8.1.180.0000.00918.10
8.1.170.0050.00318.62
8.1.160.0000.00718.87
8.1.150.0040.00422.04
8.1.140.0000.00719.58
8.1.130.0030.00320.64
8.1.120.0070.00017.43
8.1.110.0000.00717.48
8.1.100.0000.00817.45
8.1.90.0000.00817.35
8.1.80.0050.00217.43
8.1.70.0030.00317.36
8.1.60.0040.00417.55
8.1.50.0000.00817.40
8.1.40.0080.00017.36
8.1.30.0030.00517.58
8.1.20.0030.00517.58
8.1.10.0050.00217.55
8.1.00.0020.00917.48
8.0.300.0020.00519.56
8.0.290.0000.00916.74
8.0.280.0000.00818.34
8.0.270.0070.00016.80
8.0.260.0030.00318.79
8.0.250.0000.00816.98
8.0.240.0000.00816.99
8.0.230.0000.00716.84
8.0.220.0050.00216.84
8.0.210.0040.00416.88
8.0.200.0040.00416.94
8.0.190.0080.00016.86
8.0.180.0000.00716.95
8.0.170.0000.00716.89
8.0.160.0040.00416.92
8.0.150.0070.00016.70
8.0.140.0070.00016.73
8.0.130.0040.00413.32
8.0.120.0040.00416.83
8.0.110.0070.00016.74
8.0.100.0000.00716.92
8.0.90.0040.00416.68
8.0.80.0090.01216.82
8.0.70.0040.00416.76
8.0.60.0040.00416.91
8.0.50.0030.00516.99
8.0.30.0090.00817.16
8.0.20.0110.00917.40
8.0.10.0040.00416.84
8.0.00.0110.00516.51
7.4.330.0000.00515.55
7.4.320.0030.00316.62
7.4.300.0070.00016.55
7.4.290.0000.00716.47
7.4.280.0040.00416.63
7.4.270.0070.00016.41
7.4.260.0070.00016.53
7.4.250.0000.00716.47
7.4.240.0000.00816.48
7.4.230.0030.00316.62
7.4.220.0060.01316.50
7.4.210.0090.00916.54
7.4.200.0030.00516.60
7.4.160.0090.01416.58
7.4.150.0110.00617.40
7.4.140.0120.00817.86
7.4.130.0090.00916.69
7.4.120.0090.01216.59
7.4.110.0130.00916.53
7.4.100.0030.01716.47
7.4.90.0080.00816.51
7.4.80.0070.01619.39
7.4.70.0070.01016.39
7.4.60.0090.00616.38
7.4.50.0040.00716.66
7.4.40.0080.00816.39
7.4.30.0130.00316.41
7.4.00.0030.01314.57
7.3.330.0000.00613.17
7.3.320.0050.00013.18
7.3.310.0000.00716.46
7.3.300.0030.00316.21
7.3.290.0060.00016.31
7.3.280.0070.01016.30
7.3.270.0070.01017.40
7.3.260.0080.01316.57
7.3.250.0100.00616.35
7.3.240.0030.01316.58
7.3.230.0100.01316.41
7.3.210.0070.01016.41
7.3.200.0100.00716.46
7.3.190.0100.00716.43
7.3.180.0120.00916.64
7.3.170.0070.01016.48
7.3.160.0030.01316.38
7.3.10.0070.00716.51
7.3.00.0100.00716.50
7.2.330.0130.00716.82
7.2.320.0070.01116.68
7.2.310.0040.01216.67
7.2.300.0090.00916.63
7.2.290.0190.00316.73
7.2.130.0070.00716.80
7.2.120.0120.00316.47
7.2.110.0030.00916.62
7.2.100.0120.00916.70
7.2.90.0000.01216.90
7.2.80.0070.00316.92
7.2.70.0100.00316.88
7.2.60.0110.00816.68
7.2.50.0030.00816.71
7.2.40.0120.00316.71
7.2.30.0040.00816.63
7.2.20.0060.00616.76
7.2.10.0070.01016.63
7.2.00.0030.01016.71
7.1.250.0060.00815.63
7.1.200.0050.00515.85
7.1.80.0150.01116.43
7.1.70.0180.00715.10
7.1.60.0220.01633.21
7.1.50.0300.01332.74
7.1.40.0340.00932.59
7.1.30.0280.01432.74
7.1.20.0240.02132.79
7.1.10.7130.00614.71
7.1.00.6300.01414.75
7.0.200.0090.01314.87
7.0.190.0180.00514.86
7.0.180.0110.01214.53
7.0.170.0180.00914.40
7.0.160.0090.01514.44
7.0.150.6460.00614.39
7.0.140.6380.00714.60
7.0.130.6710.01314.60
7.0.120.5860.00714.71
7.0.110.5610.01614.42
7.0.100.5110.01614.43
7.0.90.5500.01514.55
7.0.80.4800.01414.49
7.0.70.4740.01514.48
7.0.60.5170.01314.32
7.0.50.4020.01214.41
7.0.40.4730.01314.59
7.0.30.0140.00914.63
7.0.20.0120.01314.73
7.0.10.0070.01314.77
7.0.00.0110.01314.77

preferences:
31.15 ms | 400 KiB | 5 Q