3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inputLine = '1.12.34'; $fieldLine = array('in_azs','in_pump','in_fuel'); $inputArr = explode(" ", $inputLine); var_dump($inputArr); count(count($inputArr)); if(count($inputArr)>=1){ $inputArr = array_combine($fieldLine, $inputArr); }

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.00416.49
8.3.50.0070.01222.04
8.3.40.0140.00419.02
8.3.30.0110.00418.67
8.3.20.0040.00420.16
8.3.10.0040.00423.68
8.3.00.0030.00620.84
8.2.180.0160.00025.92
8.2.170.0070.01318.96
8.2.160.0040.01622.96
8.2.150.0070.00025.66
8.2.140.0050.00324.66
8.2.130.0040.00420.44
8.2.120.0080.00026.35
8.2.110.0030.00722.02
8.2.100.0060.00618.03
8.2.90.0040.00419.09
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0040.00417.63
8.2.50.0000.00917.63
8.2.40.0040.00420.46
8.2.30.0000.00719.17
8.2.20.0060.00317.75
8.2.10.0020.00518.17
8.2.00.0070.00318.13
8.1.280.0080.00625.92
8.1.270.0080.00023.91
8.1.260.0080.00028.09
8.1.250.0070.00028.09
8.1.240.0060.00322.20
8.1.230.0070.00420.99
8.1.220.0060.00317.77
8.1.210.0080.00018.77
8.1.200.0040.00417.35
8.1.190.0000.00817.23
8.1.180.0070.00021.91
8.1.170.0040.00418.50
8.1.160.0080.00022.05
8.1.150.0000.00818.99
8.1.140.0040.00419.49
8.1.130.0000.00817.67
8.1.120.0100.00017.50
8.1.110.0050.00217.49
8.1.100.0050.00217.36
8.1.90.0040.00417.36
8.1.80.0000.00717.46
8.1.70.0060.00317.45
8.1.60.0070.00017.50
8.1.50.0040.00417.56
8.1.40.0000.00917.49
8.1.30.0040.00417.56
8.1.20.0040.00417.64
8.1.10.0080.00017.58
8.1.00.0070.00017.54
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0080.00018.28
8.0.270.0030.00317.19
8.0.260.0030.00317.06
8.0.250.0080.00017.00
8.0.240.0060.00016.93
8.0.230.0030.00316.97
8.0.220.0070.00016.84
8.0.210.0050.00316.89
8.0.200.0030.00316.96
8.0.190.0040.00416.96
8.0.180.0000.00816.98
8.0.170.0040.00416.86
8.0.160.0000.00816.96
8.0.150.0030.00316.82
8.0.140.0070.00016.96
8.0.130.0000.00513.30
8.0.120.0000.00816.82
8.0.110.0080.00016.75
8.0.100.0070.00016.73
8.0.90.0030.00316.84
8.0.80.0000.01417.00
8.0.70.0040.00417.06
8.0.60.0040.00416.87
8.0.50.0080.00017.02
8.0.30.0140.00717.24
8.0.20.0110.00817.40
8.0.10.0040.00416.97
8.0.00.0070.01017.00
7.4.330.0050.00015.08
7.4.320.0000.00616.64
7.4.300.0000.00616.59
7.4.290.0040.00416.60
7.4.280.0000.01016.49
7.4.270.0000.00716.50
7.4.260.0070.00016.45
7.4.250.0050.00316.55
7.4.240.0000.00716.53
7.4.230.0000.00716.60
7.4.220.0060.01216.47
7.4.210.0050.01016.53
7.4.200.0070.00016.38
7.4.160.0080.00816.39
7.4.150.0070.01017.40
7.4.140.0110.00817.86
7.4.130.0120.00516.55
7.4.120.0070.00916.51
7.3.330.0000.00713.21
7.3.320.0000.00613.05
7.3.310.0030.00516.41
7.3.300.0030.00516.32
7.3.290.0070.00016.20
7.3.280.0060.01016.32
7.3.270.0150.00317.40
7.3.260.0090.00916.35
7.3.250.0140.00816.38
7.3.240.0120.00616.42
7.1.00.0000.07722.29
5.6.280.0000.07721.09
5.6.220.0470.06720.66

preferences:
61.57 ms | 401 KiB | 5 Q