3v4l.org

run code in 300+ PHP versions simultaneously
<?php $opel= array( key => "vectra", key2 => 1999, key3 => 4, key4 => "green", ); $dodge= array( key => "DODGE CHALLENGER GT ALL-WHEEL DRIVE", key2 => 2017, key3 => 2, key4 => "rad", ); $mercmaybach= array( key => "Mercedes-Maybach S600", key2 => 2017, key3 => 4, key4 => "black" ); $arr=array($opel,$dodge,$mercmaybach); foreach ($arr as $value) { print_r($value); echo"<br>"; } ?>

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.0110.00418.43
8.3.50.0100.00716.36
8.3.40.0100.01018.79
8.3.30.0040.01118.48
8.3.20.0060.00318.85
8.3.10.0050.00221.91
8.3.00.0070.00020.91
8.2.180.0120.00918.41
8.2.170.0000.01422.96
8.2.160.0100.00322.21
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00422.12
8.2.120.0080.00026.35
8.2.110.0030.00622.13
8.2.100.0040.00817.58
8.2.90.0030.00519.26
8.2.80.0000.00818.04
8.2.70.0030.00517.50
8.2.60.0040.00417.93
8.2.50.0000.00818.10
8.2.40.0040.00422.00
8.2.30.0070.00019.13
8.2.20.0050.00317.94
8.2.10.0040.00418.00
8.2.00.0020.00518.05
8.1.280.0100.01025.92
8.1.270.0050.00323.84
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00923.97
8.1.230.0060.00622.14
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0050.00517.13
8.1.190.0000.00817.23
8.1.180.0030.00618.10
8.1.170.0040.00418.54
8.1.160.0000.00818.87
8.1.150.0030.00520.48
8.1.140.0070.00319.52
8.1.130.0020.00517.39
8.1.120.0000.00717.32
8.1.110.0000.00717.40
8.1.100.0030.00517.35
8.1.90.0000.00717.47
8.1.80.0080.00017.38
8.1.70.0100.00017.27
8.1.60.0060.00317.59
8.1.50.0040.00417.32
8.1.40.0060.00317.44
8.1.30.0000.00817.54
8.1.20.0000.00717.49
8.1.10.0000.00817.50
8.1.00.0030.00617.34
8.0.300.0080.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00718.35
8.0.270.0070.00017.21
8.0.260.0030.00316.93
8.0.250.0000.00716.92
8.0.240.0000.00917.03
8.0.230.0070.00016.93
8.0.220.0030.00316.84
8.0.210.0070.00316.91
8.0.200.0040.00417.02
8.0.190.0030.00717.04
8.0.180.0040.00716.96
8.0.170.0000.00717.00
8.0.160.0000.00717.04
8.0.150.0030.00316.78
8.0.140.0100.00016.95
8.0.130.0070.00013.38
8.0.120.0000.00717.00
8.0.110.0040.00416.81
8.0.100.0040.00416.83
8.0.90.0050.00316.93
8.0.80.0160.00016.97
8.0.70.0000.00816.73
8.0.60.0000.00716.95
8.0.50.0000.00716.86
8.0.30.0090.01017.08
8.0.20.0100.00917.40
8.0.10.0030.00516.95
8.0.00.0090.00916.87
7.4.330.0050.00015.55
7.4.320.0030.00316.62
7.4.300.0070.00016.49
7.4.290.0070.00016.49
7.4.280.0000.00716.50
7.4.270.0040.00416.53
7.4.260.0030.00313.28
7.4.250.0040.00416.61
7.4.240.0030.00616.65
7.4.230.0000.00716.68
7.4.220.0060.01916.36
7.4.210.0090.00716.54
7.4.200.0040.00416.37
7.4.160.0090.00716.51
7.4.150.0070.01717.40
7.4.140.0080.01417.86
7.4.130.0130.00716.45
7.4.120.0140.00916.52
7.4.110.0170.00016.65
7.4.100.0080.00816.62
7.4.90.0070.01116.60
7.4.80.0080.01219.39
7.4.70.0160.00016.54
7.4.60.0000.01616.47
7.4.50.0040.01116.44
7.4.40.0030.01216.51
7.4.30.0090.01316.58
7.4.00.0070.00815.06
7.3.330.0000.00513.21
7.3.320.0000.00513.33
7.3.310.0040.00316.35
7.3.300.0040.00416.38
7.3.290.0000.00716.35
7.3.280.0070.01016.33
7.3.270.0070.01117.40
7.3.260.0110.00916.43
7.3.250.0130.00916.42
7.3.240.0070.01116.48
7.3.230.0090.00916.68
7.3.210.0120.00616.33
7.3.200.0060.01116.34
7.3.190.0090.00916.35
7.3.180.0060.01116.63
7.3.170.0080.00816.56
7.3.160.0040.01116.27
7.3.120.0070.01014.84
7.3.110.0020.01514.88
7.3.100.0060.00614.88
7.3.90.0100.00214.85
7.3.80.0060.01014.82
7.3.70.0060.00614.74
7.3.60.0060.00814.92
7.3.50.0120.00314.83
7.3.40.0020.00914.90
7.3.30.0070.01014.88
7.3.20.0060.01316.63
7.3.10.0090.00716.60
7.3.00.0070.01116.65
7.2.330.0070.01016.67
7.2.320.0130.00916.82
7.2.310.0120.00416.53
7.2.300.0130.00716.47
7.2.290.0080.01216.45
7.2.250.0100.00814.97
7.2.240.0050.01515.08
7.2.230.0070.00614.91
7.2.220.0050.01015.03
7.2.210.0090.00514.95
7.2.200.0070.00514.99
7.2.190.0080.00814.96
7.2.180.0060.00614.90
7.2.170.0020.01215.01
7.2.110.0580.00316.57
7.2.60.0040.00716.93
7.2.00.0090.00619.09
7.1.330.0020.01415.99
7.1.320.0060.00615.55
7.1.310.0050.01115.68
7.1.300.0060.00915.82
7.1.290.0100.00415.79
7.1.280.0090.00415.91
7.1.270.0050.01015.73
7.1.260.0080.00815.86
7.1.200.0030.01015.65
7.1.100.0120.00518.23
7.1.70.0040.00717.27
7.1.60.0200.00733.14
7.1.50.1270.01032.94
7.1.40.1030.01032.73
7.1.30.1300.01332.61
7.1.20.0230.01732.55
7.1.10.0130.00714.71
7.1.00.0530.00014.85
7.0.200.0070.00314.66
7.0.190.0170.00314.65
7.0.180.0100.00314.64
7.0.170.0330.01316.24
7.0.160.0000.01016.23
7.0.150.1200.01314.56
7.0.140.0030.01014.44
7.0.130.0970.01014.56
7.0.120.0900.00714.66
7.0.110.1070.00316.38
7.0.100.0130.00714.63
7.0.90.0970.01014.51
7.0.80.0030.00716.58
7.0.70.0070.00316.25
7.0.60.0500.01015.94
7.0.50.0170.00314.57
7.0.40.0270.01014.70
7.0.30.0070.01016.44
7.0.20.1270.01716.35
7.0.10.0030.01016.69
7.0.00.0030.01314.63

preferences:
51.42 ms | 401 KiB | 5 Q