3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = explode(',', ''); $b = explode(',', null); var_dump($a === $b); $a = count(explode(',', '')); $b = count(explode(',', null)); var_dump($a === $b);

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.130.0000.00816.79
8.3.120.0030.00618.84
8.3.110.0090.00020.94
8.3.100.0000.00916.49
8.3.90.0070.00917.70
8.3.80.0230.00817.74
8.3.70.0190.00416.63
8.3.60.0140.00516.61
8.3.50.0170.00819.47
8.3.40.0230.00318.02
8.3.30.0220.00417.95
8.3.20.0180.00118.01
8.3.10.0140.00918.71
8.3.00.0130.01118.50
8.2.250.0080.00016.68
8.2.240.0000.00717.35
8.2.230.0000.00822.58
8.2.220.0000.00824.06
8.2.210.0180.00521.63
8.2.200.0160.00917.39
8.2.190.0240.00816.56
8.2.180.0160.01316.56
8.2.170.0230.00720.23
8.2.160.0200.01218.42
8.2.150.0150.00520.78
8.2.140.0160.00021.08
8.2.130.0140.00021.77
8.2.120.0090.00518.48
8.2.110.0080.00818.40
8.2.100.0120.00617.57
8.2.90.0080.00517.80
8.2.80.0170.00718.18
8.2.70.0090.00617.50
8.2.60.0110.00517.65
8.2.50.0130.00417.79
8.2.40.0120.00518.55
8.2.30.0200.00417.79
8.2.20.0150.01017.54
8.2.10.0170.00717.84
8.2.00.0180.00617.75
8.1.300.0080.00018.16
8.1.290.0210.00517.44
8.1.280.0220.00720.95
8.1.270.0210.00320.61
8.1.260.0230.00421.68
8.1.250.0180.00822.54
8.1.240.0160.00519.77
8.1.230.0180.00418.99
8.1.220.0150.00617.54
8.1.210.0190.00517.88
8.1.200.0120.01217.17
8.1.190.0170.00617.22
8.1.180.0190.00617.55
8.1.170.0150.01017.75
8.1.160.0150.00017.95
8.1.150.0060.00917.94
8.1.140.0070.00618.31
8.1.130.0090.00417.34
8.1.120.0100.01117.35
8.1.110.0160.00817.41
8.1.100.0170.00617.25
8.1.90.0150.00717.34
8.1.80.0120.01017.30
8.1.70.0220.00317.28
8.1.60.0240.01017.29
8.1.50.0170.00817.33
8.1.40.0180.00717.24
8.1.30.0210.00417.56
8.1.20.0170.00517.43
8.1.10.0200.00717.33
8.1.00.0150.00817.22
8.0.300.0180.00618.01
8.0.290.0130.00316.55
8.0.280.0080.00617.36
8.0.270.0090.00316.80
8.0.260.0110.00116.84
8.0.250.0120.00116.52
8.0.240.0120.00616.71
8.0.230.0110.00216.63
8.0.220.0070.00616.61
8.0.210.0120.00616.53
8.0.200.0180.00616.50
8.0.190.0160.00516.67
8.0.180.0170.00616.69
8.0.170.0210.00216.64
8.0.160.0200.00316.74
8.0.150.0230.00116.63
8.0.140.0190.00716.54
8.0.130.0150.00614.92
8.0.120.0180.00516.62
8.0.110.0140.00116.60
8.0.100.0110.00416.60
8.0.90.0190.00116.49
8.0.80.0180.00216.65
8.0.70.0100.00416.60
8.0.60.0150.00416.72
8.0.50.0140.00516.52
8.0.30.0110.01116.87
8.0.20.0160.00717.15
8.0.10.0210.00816.92
8.0.00.0110.00816.81
7.4.330.0150.00615.67
7.4.320.0150.00316.30
7.4.300.0160.00416.23
7.4.290.0160.00616.32
7.4.280.0180.00416.43
7.4.270.0120.01116.28
7.4.260.0110.00316.34
7.4.250.0190.00416.33
7.4.240.0140.00916.41
7.4.230.0220.00316.24
7.4.220.0160.01116.36
7.4.210.0100.00716.46
7.4.200.0120.00216.24
7.4.190.0150.00415.88
7.4.180.0120.00416.13
7.4.160.0060.00916.39
7.4.150.0120.00516.76
7.4.140.0130.00717.08
7.4.130.0100.00816.37
7.4.120.0090.00816.44
7.4.110.0160.00616.32
7.4.100.0160.00816.37
7.4.90.0170.00616.27
7.4.80.0200.00317.30
7.4.70.0170.00716.33
7.4.60.0240.00516.20
7.4.50.0170.00716.41
7.4.40.0170.01016.31
7.4.30.0150.00816.34
7.4.20.0150.01116.25
7.4.10.0170.00915.82
7.4.00.0140.00915.50
7.3.330.0110.01014.36
7.3.320.0140.00614.54
7.3.310.0150.00215.92
7.3.300.0070.00516.07
7.3.290.0170.00215.91
7.3.280.0130.00516.11
7.3.270.0130.00416.56
7.3.260.0100.00816.18
7.3.250.0110.00716.30
7.3.240.0110.00816.26
7.3.230.0110.00516.32
7.3.220.0220.00516.30
7.3.210.0160.00816.13
7.3.200.0180.00417.20
7.3.190.0190.00816.28
7.3.180.0160.00816.19
7.3.170.0130.01216.22
7.3.160.0160.00816.15
7.3.150.0220.00516.14
7.3.140.0210.00916.09
7.3.130.0160.00515.63
7.3.120.0120.00615.39
7.3.110.0120.00715.45
7.3.100.0100.00615.40
7.3.90.0070.00815.49
7.3.80.0070.00915.47
7.3.70.0070.00915.43
7.3.60.0130.00415.50
7.3.50.0110.00615.44
7.3.40.0120.00715.47
7.3.30.0140.00515.44
7.3.20.0130.00616.86
7.3.10.0090.00616.76
7.3.00.0110.00516.79
7.2.340.0220.01116.40
7.2.330.0220.00716.28
7.2.320.0210.00916.38
7.2.310.0210.00716.38
7.2.300.0210.01016.30
7.2.290.0190.01016.26
7.2.280.0280.00716.16
7.2.270.0210.01316.20
7.2.260.0230.00815.71
7.2.250.0190.01015.87
7.2.240.0140.00815.52
7.2.230.0150.00615.54
7.2.220.0150.00515.67
7.2.210.0140.00715.68
7.2.200.0120.00715.61
7.2.190.0140.00515.62
7.2.180.0140.00715.63
7.2.170.0080.00915.51
7.2.160.0090.00815.56
7.2.150.0110.00817.07
7.2.140.0110.00817.04
7.2.130.0110.00617.00
7.2.120.0110.00517.01
7.2.110.0130.00616.92
7.2.100.0410.00516.58
7.2.90.0370.00816.67
7.2.80.0360.00616.64
7.2.70.0460.00816.52
7.2.60.0360.00716.68
7.2.50.0370.00716.61
7.2.40.0410.00716.68
7.2.30.0350.01016.67
7.2.20.0430.00916.69
7.2.10.0250.00916.65
7.2.00.0290.00516.96
7.1.330.0110.00815.84
7.1.320.0140.00516.01
7.1.310.0240.00716.06
7.1.300.0140.00815.91
7.1.290.0130.00815.78
7.1.280.0130.00615.86
7.1.270.0140.00716.00
7.1.260.0110.00615.97
7.1.250.0100.00615.83
7.1.240.0130.00715.96
7.1.230.0140.00516.09
7.1.220.0600.00815.39
7.1.210.0750.00415.29
7.1.200.0490.00515.46
7.1.190.0470.00515.39
7.1.180.0490.00715.32
7.1.170.0470.00615.46
7.1.160.0560.00615.31
7.1.150.0510.00615.42
7.1.140.0530.00515.45
7.1.130.0570.01115.46
7.1.120.0420.00515.47
7.1.110.0380.00715.42
7.1.100.0350.00915.79
7.1.90.0350.00515.27
7.1.80.0390.00815.43
7.1.70.0290.00815.72
7.1.60.0380.00919.87
7.1.50.0340.01020.09
7.1.40.0360.00919.93
7.1.30.0540.00919.97
7.1.20.0330.00619.86
7.1.10.0260.00715.42
7.1.00.0220.01916.79
7.0.330.0140.00615.62
7.0.320.0110.00615.65
7.0.310.0620.00614.99
7.0.300.0530.00815.00
7.0.290.0540.00515.05
7.0.280.0500.00715.00
7.0.270.0460.00615.17
7.0.260.0410.00514.98
7.0.250.0430.00815.15
7.0.240.0680.00715.19
7.0.230.0300.00615.13
7.0.220.0300.00715.14
7.0.210.0410.00615.06
7.0.200.0320.00715.00
7.0.190.0300.00615.22
7.0.180.0310.00615.10
7.0.170.0340.00515.10
7.0.160.0310.00615.11
7.0.150.0230.00915.11
7.0.140.0240.00615.05
7.0.130.0180.00815.26
7.0.120.0240.00715.22
7.0.110.0230.00614.96
7.0.100.0250.00715.11
7.0.90.0240.00815.09
7.0.80.0250.00515.15
7.0.70.0290.00615.15
7.0.60.0210.01915.96
7.0.50.0280.01516.22
7.0.40.0180.02015.80
7.0.30.0190.01715.79
7.0.20.0250.01915.80
7.0.10.0280.02015.83
7.0.00.0360.01615.83
5.6.400.0140.00615.23
5.6.390.0150.00415.09
5.6.380.0100.01014.80
5.6.370.0110.00914.82
5.6.360.0110.01114.99
5.6.350.0140.00314.88
5.6.340.0110.00814.76
5.6.330.0130.00514.84
5.6.320.0110.00814.82
5.6.310.0120.00914.81
5.6.300.0090.00714.75
5.6.290.0110.00614.90
5.6.280.0090.02116.20
5.6.270.0120.00714.93
5.6.260.0100.00614.76
5.6.250.0110.00814.85
5.6.240.0120.00714.96
5.6.230.0090.00814.93
5.6.220.0110.00714.97
5.6.210.0100.02216.01
5.6.200.0150.02116.12
5.6.190.0100.02116.14
5.6.180.0180.01716.10
5.6.170.0110.02016.16
5.6.160.0140.01816.18
5.6.150.0160.01816.12
5.6.140.0140.01816.11
5.6.130.0140.01816.21
5.6.120.0200.01816.18
5.6.110.0080.02416.14
5.6.100.0190.01816.12
5.6.90.0170.01916.17
5.6.80.0140.01615.97
5.6.70.0150.01815.93
5.6.60.0160.01915.87
5.6.50.0150.01815.92
5.6.40.0170.01815.90
5.6.30.0110.02115.95
5.6.20.0130.02515.92
5.6.10.0120.02215.90
5.6.00.0130.01815.92
5.5.380.0100.01114.15
5.5.370.0180.00313.99
5.5.360.0150.00714.03
5.5.350.1030.01515.68
5.5.340.0130.02415.69
5.5.330.0220.01915.77
5.5.320.0140.02315.76
5.5.310.0210.02015.61
5.5.300.0160.01915.80
5.5.290.0160.02415.65
5.5.280.0200.02515.75
5.5.270.0220.02115.71
5.5.260.0270.02115.73
5.5.250.0200.02615.52
5.5.240.0140.02215.54
5.5.230.0180.01915.40
5.5.220.0170.02215.55
5.5.210.0240.01615.58
5.5.200.0200.02115.35
5.5.190.0180.02215.45
5.5.180.0230.02215.42
5.5.170.0150.00814.92
5.5.160.0170.01915.55
5.5.150.0160.01615.47
5.5.140.0180.01915.49
5.5.130.0160.01715.38
5.5.120.0170.02015.30
5.5.110.0140.02215.48
5.5.100.0150.02615.41
5.5.90.0230.01515.41
5.5.80.0170.02615.38
5.5.70.0200.01915.53
5.5.60.0180.01915.47
5.5.50.0200.01715.42
5.5.40.0170.01615.49
5.5.30.0120.02315.50
5.5.20.0150.02115.45
5.5.10.0180.01815.55
5.5.00.0150.02215.46

preferences:
62.83 ms | 403 KiB | 5 Q