3v4l.org

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

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.0150.00516.63
8.5.00.0130.01019.96
8.4.160.0160.01423.92
8.4.150.0020.00114.05
8.4.140.0160.00617.33
8.4.130.0090.01118.43
8.4.120.0110.00823.82
8.4.110.0100.01118.70
8.4.100.0110.00918.73
8.4.90.0140.00620.51
8.4.80.0110.00918.70
8.4.70.0070.01218.93
8.4.60.0060.00918.68
8.4.50.0130.00720.30
8.4.40.0060.01317.42
8.4.30.0070.00318.77
8.4.20.0000.00819.07
8.4.10.0090.00917.55
8.3.280.0110.00918.30
8.3.270.0090.00916.34
8.3.260.0140.00616.34
8.3.250.0090.00918.68
8.3.240.0110.00717.01
8.3.230.0150.00416.48
8.3.220.0090.00618.73
8.3.210.0100.00516.42
8.3.200.0050.00416.79
8.3.190.0100.00417.30
8.3.180.0040.00319.01
8.3.170.0090.00918.79
8.3.160.0160.00316.78
8.3.150.0180.00016.18
8.3.140.0000.00818.98
8.3.130.0060.00318.30
8.3.120.0130.00720.47
8.3.110.0030.00518.30
8.3.100.0100.01016.52
8.3.90.0000.00818.40
8.3.80.0070.00418.56
8.3.70.0120.00616.63
8.3.60.0070.01416.63
8.3.50.0070.00717.29
8.3.40.0070.01018.71
8.3.30.0100.00618.46
8.3.20.0040.00423.27
8.3.10.0050.00323.36
8.3.00.0080.00022.49
8.2.290.0080.00820.24
8.2.280.0110.00818.15
8.2.270.0070.00716.49
8.2.260.0130.00316.38
8.2.250.0000.00816.68
8.2.240.0000.01017.04
8.2.230.0030.00620.94
8.2.220.0110.00424.06
8.2.210.0040.00426.77
8.2.200.0100.00016.50
8.2.190.0120.00316.58
8.2.180.0130.00618.30
8.2.170.0110.00422.96
8.2.160.0100.00319.16
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0070.00026.16
8.2.110.0080.00822.11
8.2.100.0120.00017.78
8.2.90.0000.00822.28
8.2.80.0000.00819.53
8.2.70.0060.00317.55
8.2.60.0000.01317.78
8.2.50.0000.00818.10
8.2.40.0020.00519.17
8.2.30.0000.00819.05
8.2.20.0000.00717.86
8.2.10.0040.00419.22
8.2.00.0070.00019.22
8.1.330.0110.00821.98
8.1.320.0130.00617.99
8.1.310.0090.00015.84
8.1.300.0060.00318.29
8.1.290.0000.00918.88
8.1.280.0070.00725.92
8.1.270.0000.00822.46
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00022.46
8.1.230.0060.00620.92
8.1.220.0000.00817.74
8.1.210.0080.00018.80
8.1.200.0000.00917.13
8.1.190.0030.00516.87
8.1.180.0090.00318.10
8.1.170.0000.00818.53
8.1.160.0040.00418.69
8.1.150.0060.00318.82
8.1.140.0030.00320.91
8.1.130.0040.00419.94
8.1.120.0040.00317.32
8.1.110.0030.00417.41
8.1.100.0060.00317.27
8.1.90.0040.00717.42
8.1.80.0040.00417.29
8.1.70.0000.00817.36
8.1.60.0000.00817.39
8.1.50.0090.00017.43
8.1.40.0060.00317.45
8.1.30.0040.00417.59
8.1.20.0030.00617.61
8.1.10.0050.00317.41
8.1.00.0040.00417.36
8.0.300.0060.00319.86
8.0.290.0040.00416.63
8.0.280.0000.00718.21
8.0.270.0030.00317.12
8.0.260.0000.00620.00
8.0.250.0040.00416.78
8.0.240.0040.00416.88
8.0.230.0040.00416.84
8.0.220.0000.00716.87
8.0.210.0030.00316.83
8.0.200.0000.00616.77
8.0.190.0070.00016.84
8.0.180.0040.00416.80
8.0.170.0000.00916.69
8.0.160.0040.00416.94
8.0.150.0000.00716.74
8.0.140.0000.00716.80
8.0.130.0000.00513.24
8.0.120.0020.00516.75
8.0.110.0040.00416.64
8.0.100.0000.00716.66
8.0.90.0040.00416.72
8.0.80.0060.00916.78
8.0.70.0040.00416.81
8.0.60.0000.00816.69
8.0.50.0070.00016.72
8.0.30.0140.00616.95
8.0.20.0060.01217.04
8.0.10.0000.00716.84
8.0.00.0070.01116.75
7.4.330.0030.00315.55
7.4.320.0060.00016.52
7.4.300.0030.00316.52
7.4.290.0040.00416.33
7.4.280.0030.00516.55
7.4.270.0030.00316.52
7.4.260.0000.00816.51
7.4.250.0030.00616.29
7.4.240.0000.00716.48
7.4.230.0030.00316.27
7.4.220.0000.00716.46
7.4.210.0080.00616.45
7.4.200.0000.00716.51
7.4.140.0100.01017.86
7.4.130.0090.00916.42
7.4.120.0090.00916.45
7.4.110.0060.01016.36
7.4.100.0170.00016.36
7.4.90.0110.01116.34
7.4.80.0100.00719.39
7.4.70.0000.01616.47
7.4.60.0040.01816.28
7.4.50.0090.00616.45
7.4.40.0130.00916.25
7.4.00.0000.01615.03
7.3.330.0040.00416.00
7.3.320.0030.00312.89
7.3.310.0030.00316.00
7.3.300.0030.00316.16
7.3.290.0050.01316.11
7.3.260.0090.00916.27
7.3.240.0070.00916.28
7.3.230.0090.00916.29
7.3.210.0060.01116.37
7.3.200.0070.01016.50
7.3.190.0000.01716.25
7.3.180.0080.00816.38
7.3.170.0070.01016.21
7.3.160.0060.01016.06
7.3.120.0100.00714.99
7.3.110.0090.00614.68
7.3.100.0070.00714.64
7.3.90.0070.00614.73
7.3.80.0050.01014.59
7.3.70.0040.01014.61
7.3.60.0060.00914.40
7.3.50.0050.00914.78
7.3.40.0080.00414.62
7.3.30.0080.00614.78
7.3.20.0070.00916.55
7.3.10.0050.00816.51
7.3.00.0080.00816.47
7.2.330.0070.01016.46
7.2.320.0130.01016.39
7.2.310.0120.00416.73
7.2.300.0070.01116.67
7.2.290.0090.00616.24
7.2.240.0030.01314.91
7.2.230.0030.00915.05
7.2.220.0080.00414.90
7.2.210.0080.00614.65
7.2.200.0050.00814.81
7.2.190.0070.00614.78
7.2.180.0060.00614.70
7.2.170.0080.00814.84
7.2.160.0030.01014.52
7.2.150.0030.01116.63
7.2.140.0040.01016.78
7.2.130.0040.01116.55
7.2.120.0040.01116.69
7.2.110.0080.00916.74
7.2.100.0070.00816.69
7.2.90.0060.00916.84
7.2.80.0080.00616.73
7.2.70.0100.00616.73
7.2.60.0040.01316.79
7.2.50.0050.00716.86
7.2.40.0070.00716.73
7.2.30.0070.00916.78
7.2.20.0080.00816.83
7.2.10.0060.01116.80
7.2.00.0070.00716.78
7.1.330.0100.00015.80
7.1.320.0030.00915.42
7.1.310.0030.01015.83
7.1.300.0060.00915.59
7.1.290.0070.00615.91
7.1.280.0080.00415.70
7.1.270.0030.01115.64
7.1.260.0040.00715.65
7.1.250.0080.00515.54

preferences:
38.6 ms | 403 KiB | 5 Q