3v4l.org

run code in 300+ PHP versions simultaneously
<?php function explodeDeluxe($string, $nrArgs) { return explode(' ', $string, $nrArgs) + array_fill(0, $nrArgs, null); } var_dump(explodeDeluxe('a b c', 2));

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.0120.00618.30
8.3.50.0100.01018.19
8.3.40.0070.00718.75
8.3.30.0070.01018.57
8.3.20.0160.00419.02
8.3.10.0040.00421.85
8.3.00.0040.00422.37
8.2.180.0120.00618.41
8.2.170.0060.01222.96
8.2.160.0110.00320.89
8.2.150.0000.00824.18
8.2.140.0050.00224.66
8.2.130.0000.00722.30
8.2.120.0040.00426.35
8.2.110.0150.00322.30
8.2.100.0120.00017.84
8.2.90.0050.00317.84
8.2.80.0040.00417.97
8.2.70.0040.00417.91
8.2.60.0000.00818.03
8.2.50.0000.00818.10
8.2.40.0040.00420.86
8.2.30.0070.00020.53
8.2.20.0060.00317.93
8.2.10.0000.00717.99
8.2.00.0050.00319.21
8.1.280.0140.00325.92
8.1.270.0030.00621.93
8.1.260.0000.00726.35
8.1.250.0000.00828.09
8.1.240.0040.00422.29
8.1.230.0040.00822.77
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0060.00317.10
8.1.190.0000.00816.99
8.1.180.0040.00418.10
8.1.170.0040.00418.42
8.1.160.0070.00018.68
8.1.150.0000.00718.70
8.1.140.0040.00418.96
8.1.130.0050.00318.90
8.1.120.0040.00417.36
8.1.110.0000.00717.29
8.1.100.0040.00317.30
8.1.90.0000.00917.36
8.1.80.0000.00817.32
8.1.70.0000.00717.19
8.1.60.0080.00017.54
8.1.50.0080.00017.46
8.1.40.0000.00717.42
8.1.30.0060.00317.48
8.1.20.0040.00417.48
8.1.10.0040.00417.26
8.1.00.0030.00617.27
8.0.300.0080.00019.64
8.0.290.0080.00016.63
8.0.280.0090.00018.19
8.0.270.0030.00617.04
8.0.260.0080.00019.16
8.0.250.0070.00016.89
8.0.240.0030.00616.84
8.0.230.0000.00716.80
8.0.220.0070.00016.82
8.0.210.0070.00016.87
8.0.200.0000.00616.75
8.0.190.0080.00016.86
8.0.180.0040.00416.85
8.0.170.0050.00316.73
8.0.160.0000.00716.87
8.0.150.0000.00716.73
8.0.140.0000.00716.77
8.0.130.0050.00013.19
8.0.120.0000.00716.70
8.0.110.0040.00416.76
8.0.100.0000.00716.83
8.0.90.0080.00016.81
8.0.80.0030.01516.85
8.0.70.0080.00016.75
8.0.60.0040.00416.88
8.0.50.0040.00416.68
8.0.30.0110.00817.04
8.0.20.0060.01317.40
8.0.10.0000.00817.02
8.0.00.0050.01316.77
7.4.330.0040.00015.55
7.4.320.0030.00316.36
7.4.300.0060.00016.43
7.4.290.0030.00316.35
7.4.280.0040.00416.34
7.4.270.0030.00316.43
7.4.260.0070.00016.47
7.4.250.0000.00716.26
7.4.240.0000.00816.52
7.4.230.0000.00716.57
7.4.220.0000.00816.54
7.4.210.0070.00816.51
7.4.200.0000.00616.54
7.4.160.0090.01016.55
7.4.140.0090.01017.86
7.4.130.0110.00616.31
7.4.120.0100.01116.38
7.4.110.0080.00916.26
7.4.100.0120.00616.43
7.4.90.0100.00716.45
7.4.80.0110.00719.39
7.4.70.0070.01116.44
7.4.60.0030.01716.43
7.4.50.0070.01116.39
7.4.40.0180.00316.44
7.4.10.0030.01414.90
7.4.00.0080.00814.89
7.3.330.0050.00013.10
7.3.320.0030.00313.06
7.3.310.0030.00316.34
7.3.300.0000.01116.25
7.3.290.0030.00316.16
7.3.280.0120.00416.21
7.3.260.0140.00616.38
7.3.240.0100.01016.34
7.3.230.0090.00916.42
7.3.210.0090.00916.54
7.3.200.0000.01716.34
7.3.190.0090.01116.60
7.3.180.0100.00716.38
7.3.170.0060.01016.55
7.3.160.0100.00616.40
7.3.130.0090.00914.80
7.3.120.0070.01014.69
7.3.110.0110.00614.79
7.3.100.0030.01214.84
7.3.90.0110.00414.74
7.3.80.0040.00714.77
7.3.70.0080.00714.73
7.3.60.0080.00514.76
7.3.50.0060.00814.71
7.3.40.0050.01114.62
7.3.30.0110.00314.73
7.3.20.0070.00716.45
7.3.10.0080.00516.60
7.3.00.0020.00916.62
7.2.330.0170.00716.72
7.2.320.0060.01716.60
7.2.310.0040.01816.68
7.2.300.0090.00916.36
7.2.290.0030.01416.40
7.2.260.0100.00714.98
7.2.250.0090.01014.83
7.2.240.0080.00815.02
7.2.230.0080.00614.78
7.2.220.0080.00514.96
7.2.210.0070.00714.83
7.2.200.0050.00814.68
7.2.190.0060.00814.85
7.2.180.0090.00714.85
7.2.170.0030.01314.76
7.2.160.0020.01214.82
7.2.150.0040.00716.85
7.2.140.0070.00716.86
7.2.130.0110.00316.84
7.2.120.0020.01016.75
7.2.110.0030.01016.53
7.2.100.0060.00816.82
7.2.90.0050.01016.80
7.2.80.0240.00816.08
7.2.70.0280.01216.18
7.2.60.0250.00716.12
7.2.50.0210.00716.12
7.2.40.0190.00716.07
7.2.30.0190.00616.23
7.2.20.0190.00716.04
7.2.10.0200.00216.17
7.2.00.0170.00815.90
7.1.330.0090.00615.71
7.1.320.0030.00815.67
7.1.310.0070.00715.75
7.1.300.0100.00215.63
7.1.290.0020.00815.85
7.1.280.0080.00615.75
7.1.270.0030.01115.67
7.1.260.0000.01115.65
7.1.250.0030.00715.76
7.1.240.0030.01015.69
7.1.230.0030.00615.87
7.1.220.0060.00615.68
7.1.210.0050.01215.70
7.1.200.0160.00914.94
7.1.190.0150.00715.07
7.1.180.0160.00715.00
7.1.170.0220.00714.94
7.1.160.0150.00915.15
7.1.150.0180.00615.21
7.1.140.0160.00615.02
7.1.130.0180.00815.07
7.1.120.0170.00815.11
7.1.110.0170.00615.00
7.1.100.0140.00715.04
7.1.90.0190.00815.25
7.1.80.0450.00615.11
7.1.70.0180.00815.06
7.1.60.0230.00821.19
7.1.50.0220.00721.04
7.1.40.0230.00420.81
7.1.30.0210.00821.15
7.1.20.0180.01021.08
7.1.10.0140.00915.15
7.1.00.0140.00914.94
7.0.330.0070.00515.27
7.0.320.0080.00715.37
7.0.310.0050.00815.31
7.0.300.0070.00515.15
7.0.290.0030.00515.09
7.0.280.0030.01015.30
7.0.270.0090.00615.35
7.0.260.0030.00615.49
7.0.250.0060.00515.48
7.0.240.0050.00815.47
7.0.230.0100.00415.27
7.0.220.0050.01015.48
7.0.210.0020.01415.33
7.0.200.0100.00415.39
7.0.190.0050.00915.31
7.0.180.0080.00415.32
7.0.170.0030.00815.33
7.0.160.0030.01115.15
7.0.150.0050.00715.26
7.0.140.0030.01315.31
7.0.130.0040.00915.39
7.0.120.0050.00815.31
7.0.110.0020.01215.28
7.0.100.0040.00815.31
7.0.90.0050.00715.12
7.0.80.0070.00715.32
7.0.70.0080.00515.31
7.0.60.0050.00715.29
7.0.50.0050.01015.25
7.0.40.0040.00613.56
7.0.30.0050.01013.38
7.0.20.0050.00913.20
7.0.10.0090.00613.53
7.0.00.0070.00713.27
5.6.400.0080.00614.38
5.6.390.0090.00414.06
5.6.380.0080.00714.10
5.6.370.0080.00414.03
5.6.360.0080.00514.24
5.6.350.0050.00814.09
5.6.340.0050.01014.03
5.6.330.0090.00614.19
5.6.320.0060.00914.20
5.6.310.0080.01014.18
5.6.300.0050.00914.22
5.6.290.0060.00814.16
5.6.280.0060.00514.25
5.6.270.0030.01014.33
5.6.260.0070.01014.26
5.6.250.0050.00914.19
5.6.240.0020.00814.11
5.6.230.0060.00414.29
5.6.220.0070.00814.14
5.6.210.0050.01014.16
5.6.200.0060.01014.13
5.6.190.0060.00614.03
5.6.180.0070.00513.91
5.6.170.0050.00914.21
5.6.160.0070.00414.16
5.6.150.0070.00714.18
5.6.140.0040.01214.13
5.6.130.0060.00413.96
5.6.120.0040.01014.18
5.6.110.0010.01214.09
5.6.100.0040.00914.21
5.6.90.0020.01314.31
5.6.80.0080.00814.17
5.6.70.0070.00714.04
5.6.60.0020.01414.13
5.6.50.0030.01014.34
5.6.40.0030.01014.08
5.6.30.0040.01014.09
5.6.20.0060.00613.98
5.6.10.0050.00614.08
5.6.00.0060.00913.98

preferences:
37.47 ms | 400 KiB | 5 Q