3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( "name" => array("type" => "text", "null" => "NOT NULL"), "email" => array("type" => "text", "null" => "NOT NULL"), "tel" => array("type" => "text", "null" => "NOT NULL"), "warehouse" => array("type" => "text", "null" => "NOT NULL"), ); echo implode(', ', array_map(function ($entry) { return $entry["type"]; }, $input));

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.70.0070.00718.31
8.3.60.0110.00416.63
8.3.50.0120.00722.06
8.3.40.0040.01118.54
8.3.30.0000.01418.53
8.3.20.0000.00820.26
8.3.10.0080.00023.52
8.3.00.0040.00419.38
8.2.190.0110.00318.54
8.2.180.0070.00718.41
8.2.170.0140.00022.96
8.2.160.0030.01020.43
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0040.00420.39
8.2.120.0060.00326.35
8.2.110.0060.00320.52
8.2.100.0120.00018.16
8.2.90.0070.00019.41
8.2.80.0080.00017.97
8.2.70.0040.00417.75
8.2.60.0040.00418.05
8.2.50.0000.00818.07
8.2.40.0040.00419.38
8.2.30.0040.00420.57
8.2.20.0050.00517.80
8.2.10.0040.00418.16
8.2.00.0000.00818.03
8.1.280.0070.00725.92
8.1.270.0070.00723.82
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0080.00024.01
8.1.230.0000.01219.21
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0040.00417.70
8.1.180.0040.00418.10
8.1.170.0000.00918.47
8.1.160.0070.00022.01
8.1.150.0030.00518.84
8.1.140.0040.00419.58
8.1.130.0000.00717.66
8.1.120.0020.00517.44
8.1.110.0040.00417.36
8.1.100.0040.00417.44
8.1.90.0070.00017.36
8.1.80.0030.00617.38
8.1.70.0070.00017.36
8.1.60.0050.00317.66
8.1.50.0090.00017.54
8.1.40.0040.00417.49
8.1.30.0030.00517.69
8.1.20.0040.00417.48
8.1.10.0040.00417.64
8.1.00.0070.00317.48
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0040.00418.33
8.0.270.0030.00317.13
8.0.260.0040.00417.27
8.0.250.0000.00716.92
8.0.240.0030.00316.83
8.0.230.0030.00316.90
8.0.220.0030.00316.69
8.0.210.0000.00716.79
8.0.200.0040.00416.97
8.0.190.0020.00516.97
8.0.180.0040.00416.84
8.0.170.0080.00016.90
8.0.160.0040.00416.92
8.0.150.0040.00416.83
8.0.140.0000.00816.81
8.0.130.0050.00013.36
8.0.120.0040.00416.77
8.0.110.0000.00716.73
8.0.100.0000.00716.75
8.0.90.0040.00416.95
8.0.80.0040.01216.93
8.0.70.0000.00716.94
8.0.60.0000.00716.78
8.0.50.0040.00416.76
8.0.30.0020.01317.02
8.0.20.0080.01117.40
8.0.10.0020.00516.90
8.0.00.0140.00416.77
7.4.330.0000.00516.85
7.4.320.0030.00316.64
7.4.300.0030.00316.49
7.4.290.0030.00316.65
7.4.280.0030.00616.52
7.4.270.0000.00816.43
7.4.260.0070.00016.38
7.4.250.0040.00416.42
7.4.240.0030.00416.52
7.4.230.0030.00316.61
7.4.220.0130.00716.44
7.4.210.0030.01616.60
7.4.200.0000.00716.60
7.4.160.0070.01016.42
7.4.150.0030.01417.40
7.4.140.0070.01417.86
7.4.130.0030.01516.53
7.4.120.0090.01116.53
7.4.110.0040.01416.44
7.4.100.0070.01416.53
7.4.90.0120.00616.50
7.4.80.0060.01719.39
7.4.70.0160.00316.45
7.4.60.0060.01116.59
7.4.50.0040.01516.35
7.4.40.0030.01716.31
7.4.30.0060.01016.36
7.4.10.0070.01015.09
7.4.00.0060.01114.94
7.3.330.0030.00313.30
7.3.320.0050.00013.37
7.3.310.0030.00316.29
7.3.300.0030.00316.16
7.3.290.0090.00716.20
7.3.280.0090.01016.20
7.3.270.0090.01517.40
7.3.260.0070.01116.30
7.3.250.0120.00616.30
7.3.240.0060.01216.36
7.3.230.0130.00316.39
7.3.210.0130.00316.31
7.3.200.0060.01416.20
7.3.190.0090.01316.35
7.3.180.0100.01016.36
7.3.170.0040.01116.57
7.3.160.0110.00816.48
7.3.130.0090.00915.08
7.3.120.0050.01114.97
7.3.110.0070.01014.84
7.3.100.0050.01014.88
7.3.90.0090.00814.62
7.3.80.0060.00514.89
7.3.70.0010.01114.69
7.3.60.0050.00514.72
7.3.50.0050.00714.74
7.3.40.0050.00814.83
7.3.30.0090.00514.71
7.3.20.0100.00316.58
7.3.10.0050.01016.63
7.3.00.0110.00516.52
7.2.330.0150.00316.41
7.2.320.0070.01016.66
7.2.310.0100.00616.71
7.2.300.0100.00716.77
7.2.290.0170.00616.68
7.2.260.0040.01515.15
7.2.250.0060.01315.15
7.2.240.0080.00714.87
7.2.230.0050.01214.83
7.2.220.0050.00914.80
7.2.210.0000.01414.88
7.2.200.0080.00814.92
7.2.190.0080.00715.12
7.2.180.0110.00415.05
7.2.170.0110.00315.04
7.2.160.0050.00914.96
7.2.150.0050.01216.54
7.2.140.0050.01016.82
7.2.130.0060.00916.76
7.2.120.0050.00916.74
7.2.110.0050.00716.79
7.2.100.0020.01216.88
7.2.90.0050.01216.62
7.2.80.0050.01116.88
7.2.70.0080.00916.82
7.2.60.0050.00716.64
7.2.50.0050.01016.87
7.2.40.0070.00916.90
7.2.30.0070.00516.69
7.2.20.0110.00316.79
7.2.10.0030.01016.86
7.2.00.0030.01317.60
7.1.330.0070.00915.83
7.1.320.0080.00615.84
7.1.310.0080.00815.72
7.1.300.0070.00815.86
7.1.290.0040.01115.82
7.1.280.0040.00915.74
7.1.270.0040.01215.90
7.1.260.0040.00915.85
7.1.250.0030.00815.64
7.1.240.0060.01015.50
7.1.230.0030.00915.80
7.1.220.0040.01415.63
7.1.210.0060.00915.66
7.1.200.0030.01415.63
7.1.190.0040.00815.75
7.1.180.0160.00015.62
7.1.170.0030.01015.84
7.1.160.0070.00715.82
7.1.150.0070.00415.39
7.1.140.0040.00815.66
7.1.130.0030.01015.59
7.1.120.0000.01215.51
7.1.110.0060.00615.55
7.1.100.0420.00815.93
7.1.90.0040.01115.65
7.1.80.0030.00715.59
7.1.70.0030.01116.43
7.1.60.0100.00717.56
7.1.50.0080.00816.30
7.1.40.0030.00615.79
7.1.30.0070.00715.60
7.1.20.0070.00715.62
7.1.10.0040.00415.64
7.1.00.0020.04619.21
7.0.330.0040.00815.30
7.0.320.0040.01215.30
7.0.310.0000.01515.11
7.0.300.0080.00815.39
7.0.290.0030.00615.44
7.0.280.0000.01415.38
7.0.270.0030.01015.37
7.0.260.0080.00415.49
7.0.250.0100.00315.61
7.0.240.0080.00015.11
7.0.230.0070.00715.32
7.0.220.0060.00915.61
7.0.210.0070.01115.15
7.0.200.0060.00615.87
7.0.190.0040.01115.32
7.0.180.0000.00815.20
7.0.170.0030.01015.20
7.0.160.0090.00815.23
7.0.150.0000.00915.53
7.0.140.0040.00715.29
7.0.130.0100.00315.22
7.0.120.0080.00015.16
7.0.110.0090.00315.44
7.0.100.0040.00715.23
7.0.90.0070.00415.51
7.0.80.0060.00915.28
7.0.70.0070.00715.29
7.0.60.0130.03717.68
7.0.50.0030.02516.56
7.0.40.0050.02816.69
7.0.30.0070.03116.67
7.0.20.0200.04116.77
7.0.10.0070.02316.89
7.0.00.0030.04516.79
5.6.400.0160.00014.40
5.6.390.0060.00614.75
5.6.380.0060.01314.11
5.6.370.0030.01014.27
5.6.360.0000.01814.30
5.6.350.0100.00314.64
5.6.340.0070.01014.42
5.6.330.0090.00614.26
5.6.320.0070.00414.44
5.6.310.0100.00714.38
5.6.300.0090.00014.32
5.6.290.0100.00714.64
5.6.280.0080.03017.58
5.6.270.0070.00714.34
5.6.260.0090.00314.59
5.6.250.0000.01514.29
5.6.240.0040.01114.30
5.6.230.0000.00914.15
5.6.220.0000.00914.43
5.6.210.0040.02217.52
5.6.200.0030.02316.31
5.6.190.0030.03417.51
5.6.180.0270.03517.61
5.6.170.0130.02817.47
5.6.160.0070.02417.52
5.6.150.0030.04516.28
5.6.140.0020.03416.26
5.6.130.0100.04016.34
5.6.120.0080.03817.59
5.6.110.0100.04017.62
5.6.100.0050.02517.62
5.6.90.0070.04917.71
5.6.80.0090.04117.41
5.6.70.0080.00414.13
5.6.60.0060.00314.23
5.6.50.0060.00614.26
5.6.40.0030.01014.12
5.6.30.0030.00614.21
5.6.20.0000.01413.93
5.6.10.0030.01314.13
5.6.00.0070.00714.63
5.5.380.0070.00714.21
5.5.370.0060.00614.34
5.5.360.0000.01814.25
5.5.350.0100.03317.33
5.5.340.0030.02816.31
5.5.330.0070.04717.15
5.5.320.0050.04317.31
5.5.310.0160.04017.34
5.5.300.0040.05116.13
5.5.290.0090.02116.13
5.5.280.0040.04717.44
5.5.270.0050.04817.50
5.5.260.0030.03617.52
5.5.250.0060.04617.55
5.5.240.0170.04217.25
5.5.230.0030.00614.34
5.5.220.0040.00814.05
5.5.210.0060.00914.48
5.5.200.0070.00714.03
5.5.190.0030.00714.23
5.5.180.0060.01014.45
5.5.170.0000.01014.15
5.5.160.0060.00913.91
5.5.150.0060.00914.27
5.5.140.0120.00314.09
5.5.130.0110.00314.41
5.5.120.0130.00314.36
5.5.110.0070.00714.37
5.5.100.0000.00914.45
5.5.90.0060.00614.12
5.5.80.0070.00714.43
5.5.70.0000.01314.16
5.5.60.0070.00714.23
5.5.50.0040.00814.07
5.5.40.0070.00713.84
5.5.30.0000.00914.09
5.5.20.0090.00614.00
5.5.10.0080.00514.18
5.5.00.0060.00914.29

preferences:
67.9 ms | 401 KiB | 5 Q