3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = "\"Got'ta apostrophe you can spare?\", \"Got\\'ta apostrophe you can spare?\""; //$data = str_replace("'","\\'",$data); $data = str_getcsv($data, ",",'"'); var_dump($data);

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.0070.00718.42
8.3.50.0070.01517.85
8.3.40.0070.01518.59
8.3.30.0060.00918.73
8.3.20.0070.00020.32
8.3.10.0050.00323.48
8.3.00.0080.00019.56
8.2.180.0110.00716.56
8.2.170.0100.00722.96
8.2.160.0140.00020.52
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0070.00020.52
8.2.120.0040.00426.35
8.2.110.0090.00022.30
8.2.100.0040.00817.65
8.2.90.0070.00317.63
8.2.80.0080.00018.54
8.2.70.0000.00818.04
8.2.60.0090.00017.93
8.2.50.0000.01018.10
8.2.40.0050.00320.59
8.2.30.0000.00719.18
8.2.20.0000.00717.93
8.2.10.0030.00518.04
8.2.00.0070.00018.10
8.1.280.0140.00425.92
8.1.270.0050.00320.24
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00423.89
8.1.230.0000.01122.71
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00717.35
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0000.00818.65
8.1.160.0070.00018.87
8.1.150.0000.00720.25
8.1.140.0040.00417.60
8.1.130.0070.00319.05
8.1.120.0040.00317.40
8.1.110.0040.00417.29
8.1.100.0050.00217.27
8.1.90.0000.00817.29
8.1.80.0000.00717.31
8.1.70.0060.00617.27
8.1.60.0090.00317.58
8.1.50.0040.00417.33
8.1.40.0040.00417.46
8.1.30.0040.00717.50
8.1.20.0080.00017.49
8.1.10.0070.00017.48
8.1.00.0040.00417.34
8.0.300.0040.00420.23
8.0.290.0070.00016.63
8.0.280.0070.00018.37
8.0.270.0070.00017.06
8.0.260.0030.00316.86
8.0.250.0070.00016.91
8.0.240.0050.00316.89
8.0.230.0060.00316.84
8.0.220.0070.00016.82
8.0.210.0070.00016.70
8.0.200.0000.00716.88
8.0.190.0050.00216.93
8.0.180.0050.00316.83
8.0.170.0060.00316.76
8.0.160.0000.00716.78
8.0.150.0080.00016.79
8.0.140.0000.00716.70
8.0.130.0060.00013.23
8.0.120.0040.00416.80
8.0.110.0030.00716.78
8.0.100.0070.00016.88
8.0.90.0050.00216.73
8.0.80.0060.00816.78
8.0.70.0090.00016.77
8.0.60.0050.00316.81
8.0.50.0040.00416.79
8.0.30.0050.01216.83
8.0.20.0090.01017.40
8.0.10.0040.00416.89
8.0.00.0130.00916.73
7.4.330.0000.00615.55
7.4.320.0030.00316.45
7.4.300.0030.00316.52
7.4.290.0050.00216.46
7.4.280.0040.00416.44
7.4.270.0080.00016.59
7.4.260.0060.00016.56
7.4.250.0070.00016.46
7.4.240.0000.00716.57
7.4.230.0040.00416.23
7.4.220.0030.00516.38
7.4.210.0050.00916.49
7.4.200.0000.00716.55
7.4.160.0070.00916.43
7.4.150.0000.01917.40
7.4.140.0060.01317.86
7.4.130.0090.00916.48
7.4.120.0060.01316.46
7.4.110.0100.00616.52
7.4.100.0150.00616.62
7.4.90.0060.01016.35
7.4.80.0180.00019.39
7.4.70.0130.00616.44
7.4.60.0100.01016.34
7.4.50.0090.00316.46
7.4.40.0060.01016.18
7.4.00.0000.01514.73
7.3.330.0050.00012.82
7.3.320.0000.00512.87
7.3.310.0040.00416.22
7.3.300.0000.00716.05
7.3.290.0030.00316.13
7.3.280.0080.00916.20
7.3.270.0170.00017.40
7.3.260.0110.00616.16
7.3.240.0110.00816.27
7.3.230.0100.00716.47
7.3.210.0080.00816.16
7.3.200.0120.01016.32
7.3.190.0180.00616.30
7.3.180.0060.01516.15
7.3.170.0130.00316.34
7.3.160.0170.00016.21
7.3.10.0000.01516.36
7.3.00.0070.00716.31
7.2.330.0120.00616.46
7.2.320.0120.00616.64
7.2.310.0060.01316.68
7.2.300.0080.00916.25
7.2.290.0170.00816.49
7.2.130.0100.00716.75
7.2.120.0060.00316.86
7.2.110.0040.00416.39
7.2.100.0090.00616.81
7.2.90.0090.00616.55
7.2.80.0150.00416.50
7.2.70.0060.00616.68
7.2.60.0080.00516.72
7.2.50.0000.01516.86
7.2.40.0080.00616.52
7.2.30.0110.00716.78
7.2.20.0060.01017.29
7.2.10.0090.01017.22
7.2.00.0080.01217.17
7.1.250.0030.01015.59
7.1.200.0030.00315.69
7.1.140.0080.01616.66
7.1.130.0100.01016.37
7.1.120.0110.01216.72
7.1.110.0100.00716.19
7.1.100.0070.01116.09
7.1.90.0090.01615.96
7.1.80.0070.01216.15
7.1.70.0130.01215.11
7.1.60.0310.01433.19
7.1.50.0350.01732.91
7.1.40.0300.01832.41
7.1.30.0240.01632.45
7.1.20.0270.01232.47
7.1.10.0110.01314.50
7.1.00.0090.01114.80

preferences:
63.05 ms | 400 KiB | 5 Q