3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '("one","two","three,subthree","four")'; print_r(explode('","',trim($string,'"()')));

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.5.10.0140.00818.09
8.5.00.0120.00919.80
8.4.150.0020.00014.05
8.4.140.0120.00917.51
8.4.130.0080.01317.63
8.4.120.0110.01220.38
8.4.110.0070.01422.18
8.4.100.0090.01017.57
8.4.90.0110.01018.48
8.4.80.0060.01017.67
8.4.70.0120.00717.63
8.4.60.0110.01018.78
8.4.50.0090.01119.30
8.4.40.0100.01017.63
8.4.30.0050.00518.40
8.4.20.0060.01318.85
8.4.10.0110.00817.80
8.3.280.0110.01518.32
8.3.270.0130.00716.43
8.3.260.0090.01016.49
8.3.250.0100.00818.85
8.3.240.0130.00716.49
8.3.230.0120.00816.47
8.3.220.0100.00917.03
8.3.210.0060.00216.41
8.3.200.0040.00516.49
8.3.190.0100.00716.45
8.3.180.0090.01116.37
8.3.170.0190.00016.46
8.3.160.0100.00016.95
8.3.150.0040.01517.25
8.3.140.0040.00416.58
8.3.130.0110.00416.52
8.3.120.0060.00320.67
8.3.110.0040.00416.36
8.3.100.0080.00316.63
8.3.90.0040.00418.22
8.3.80.0090.00018.31
8.3.70.0180.00316.50
8.3.60.0070.01018.43
8.3.50.0100.00318.09
8.3.40.0110.01118.40
8.3.30.0000.01418.46
8.3.20.0040.00423.70
8.3.10.0070.00021.60
8.3.00.0000.01022.45
8.2.290.0140.00520.26
8.2.280.0110.00518.34
8.2.270.0100.00716.95
8.2.260.0070.01316.78
8.2.250.0080.00018.37
8.2.240.0090.00016.68
8.2.230.0060.00320.94
8.2.220.0030.00624.06
8.2.210.0050.00326.77
8.2.200.0090.00018.29
8.2.190.0060.01216.58
8.2.180.0110.00718.41
8.2.170.0100.00722.96
8.2.160.0110.00319.24
8.2.150.0070.00324.18
8.2.140.0070.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00426.16
8.2.110.0030.00620.52
8.2.100.0060.00617.59
8.2.90.0000.00817.63
8.2.80.0090.00017.97
8.2.70.0040.00417.91
8.2.60.0000.00818.03
8.2.50.0000.00818.10
8.2.40.0000.00819.17
8.2.30.0000.00719.23
8.2.20.0040.00417.98
8.2.10.0040.00419.18
8.2.00.0000.00719.25
8.1.330.0090.00621.85
8.1.320.0120.00716.28
8.1.310.0120.00618.22
8.1.300.0090.00018.35
8.1.290.0090.00018.88
8.1.280.0070.01025.92
8.1.270.0090.00022.26
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00723.80
8.1.230.0070.00424.03
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0030.00617.22
8.1.190.0000.00817.22
8.1.180.0000.00918.10
8.1.170.0040.00418.49
8.1.160.0000.00818.86
8.1.150.0000.00718.80
8.1.140.0040.00420.93
8.1.130.0070.00017.39
8.1.120.0080.00017.30
8.1.110.0040.00417.30
8.1.100.0100.00017.38
8.1.90.0040.00417.43
8.1.80.0000.00717.43
8.1.70.0000.00817.40
8.1.60.0070.00017.50
8.1.50.0000.00717.46
8.1.40.0030.00517.48
8.1.30.0000.00917.50
8.1.20.0040.00417.57
8.1.10.0070.00317.45
8.1.00.0040.00417.34
8.0.300.0000.00819.52
8.0.290.0050.00316.75
8.0.280.0040.00418.28
8.0.270.0030.00316.74
8.0.260.0030.00516.80
8.0.250.0040.00416.90
8.0.240.0000.00816.88
8.0.230.0000.00716.87
8.0.220.0050.00216.83
8.0.210.0070.00016.86
8.0.200.0030.00316.75
8.0.190.0000.00816.89
8.0.180.0030.00616.91
8.0.170.0080.00016.86
8.0.160.0000.00716.78
8.0.150.0000.00716.72
8.0.140.0070.00016.66
8.0.130.0060.00013.21
8.0.120.0050.00216.75
8.0.110.0050.00216.59
8.0.100.0050.00216.67
8.0.90.0030.00616.68
8.0.80.0050.01016.77
8.0.70.0070.00016.75
8.0.60.0000.00716.71
8.0.50.0000.00716.81
8.0.30.0130.01016.89
8.0.20.0100.00816.94
8.0.10.0000.00817.00
8.0.00.0110.01116.62
7.4.330.0000.00515.55
7.4.320.0030.00316.44
7.4.300.0030.00316.48
7.4.290.0030.00316.54
7.4.280.0030.00616.42
7.4.270.0070.00016.34
7.4.260.0050.00013.23
7.4.250.0070.00016.41
7.4.240.0030.00316.49
7.4.230.0000.00816.32
7.4.220.0050.00316.37
7.4.210.0100.00616.51
7.4.200.0030.00316.43
7.4.130.0140.00316.35
7.4.120.0100.00716.23
7.4.110.0110.00716.34
7.4.100.0160.00016.32
7.4.90.0100.00616.32
7.4.80.0090.00919.39
7.4.70.0060.01216.21
7.4.60.0030.01716.39
7.4.50.0030.01016.33
7.4.40.0030.01716.55
7.4.00.0070.00714.81
7.3.330.0030.00316.27
7.3.320.0050.00213.05
7.3.310.0050.00216.06
7.3.300.0030.00316.14
7.3.290.0030.01116.17
7.3.260.0140.00616.19
7.3.240.0090.00916.24
7.3.230.0190.00316.21
7.3.210.0100.00716.05
7.3.200.0070.01116.09
7.3.190.0060.00916.40
7.3.180.0070.01416.49
7.3.170.0070.01116.05
7.3.160.0080.00916.04
7.3.120.0060.01016.90
7.3.110.0100.00316.90
7.3.100.0040.00716.90
7.3.90.0060.00815.91
7.3.80.0120.00215.81
7.3.70.0050.01015.79
7.3.60.0030.01115.76
7.3.50.0060.00915.75
7.3.40.0040.01015.75
7.3.30.0050.00615.75
7.3.20.0050.00815.83
7.3.10.0050.01115.76
7.3.00.0050.00815.67
7.2.330.0060.01516.42
7.2.320.0110.01216.47
7.2.310.0110.01416.37
7.2.300.0030.01916.33
7.2.290.0090.00916.54
7.2.240.0060.00916.90
7.2.230.0030.01216.90
7.2.220.0070.00715.81
7.2.210.0060.00615.73
7.2.200.0090.00915.82
7.2.190.0080.00715.76
7.2.180.0060.00815.85
7.2.170.0080.00415.90
7.2.160.0100.00315.94
7.2.150.0090.00715.79
7.2.140.0060.00915.86
7.2.130.0120.00315.89
7.2.120.0080.00815.94
7.2.110.0060.00715.93
7.2.100.0060.01115.96
7.2.90.0120.00415.78
7.2.80.0050.00915.89
7.2.70.0060.00715.81
7.2.60.0080.00815.96
7.2.50.0080.00515.85
7.2.40.0050.00915.97
7.2.30.0120.00515.86
7.2.20.0080.00815.80
7.2.10.0060.00615.88
7.2.00.0090.00615.86
7.1.330.0060.00616.90
7.1.320.0130.00315.38
7.1.310.0070.00915.43
7.1.300.0080.00515.31
7.1.290.0060.00915.32
7.1.280.0080.01015.44
7.1.270.0090.00615.41
7.1.260.0070.00415.24
7.1.250.0070.00615.46

preferences:
34.67 ms | 403 KiB | 5 Q