3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "<pre>"; $str = "Lorem ipsum \"dolor sit amet\", consectetur adipiscing elit, maecenas est felis \"sit amet\"."; $array = preg_split("/\"([\\w ]*)\"/", $str, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); print_r($array); echo "</pre>"; ?>

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.0140.00416.50
8.3.50.0060.01221.09
8.3.40.0000.01418.96
8.3.30.0030.01318.78
8.3.20.0040.00422.10
8.3.10.0080.00023.61
8.3.00.0000.00819.85
8.2.180.0100.01016.75
8.2.170.0060.00922.96
8.2.160.0100.00320.52
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0080.00021.14
8.2.110.0030.00621.00
8.2.100.0040.00720.39
8.2.90.0090.00019.30
8.2.80.0060.00317.97
8.2.70.0040.00417.93
8.2.60.0060.00317.80
8.2.50.0040.00418.10
8.2.40.0000.00820.33
8.2.30.0030.00320.54
8.2.20.0040.00417.70
8.2.10.0000.00818.16
8.2.00.0000.00717.94
8.1.280.0040.01225.92
8.1.270.0060.00320.38
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00622.05
8.1.230.0090.00419.01
8.1.220.0060.00317.74
8.1.210.0090.00018.77
8.1.200.0090.00017.35
8.1.190.0080.00017.35
8.1.180.0000.00818.10
8.1.170.0060.00318.70
8.1.160.0050.00322.09
8.1.150.0000.00718.89
8.1.140.0050.00319.38
8.1.130.0040.00417.71
8.1.120.0000.00817.52
8.1.110.0000.00717.49
8.1.100.0050.00217.56
8.1.90.0000.00717.42
8.1.80.0030.00417.45
8.1.70.0030.00317.39
8.1.60.0040.00417.67
8.1.50.0060.00317.52
8.1.40.0040.00417.63
8.1.30.0040.00417.77
8.1.20.0030.00517.63
8.1.10.0040.00417.60
8.1.00.0050.00517.59
8.0.300.0040.00419.90
8.0.290.0080.00016.75
8.0.280.0050.00218.45
8.0.270.0040.00417.35
8.0.260.0030.00317.31
8.0.250.0060.00016.92
8.0.240.0030.00317.05
8.0.230.0040.00417.02
8.0.220.0040.00416.95
8.0.210.0030.00316.81
8.0.200.0000.00817.01
8.0.190.0050.00516.96
8.0.180.0000.00716.96
8.0.170.0040.00417.02
8.0.160.0040.00416.87
8.0.150.0000.00816.86
8.0.140.0030.00416.77
8.0.130.0030.00313.42
8.0.120.0080.00016.89
8.0.110.0070.00016.97
8.0.100.0050.00316.97
8.0.90.0040.00416.93
8.0.80.0090.00616.98
8.0.70.0040.00416.81
8.0.60.0050.00316.79
8.0.50.0040.00416.86
8.0.30.0050.01217.18
8.0.20.0120.00817.42
8.0.10.0040.00417.03
8.0.00.0080.00916.78
7.4.330.0000.00516.67
7.4.320.0030.00316.77
7.4.300.0030.00316.64
7.4.290.0040.00416.74
7.4.280.0030.00516.77
7.4.270.0030.00316.58
7.4.260.0030.00316.64
7.4.250.0000.00716.68
7.4.240.0000.00716.73
7.4.230.0020.00516.74
7.4.220.0090.00916.71
7.4.210.0070.00916.66
7.4.200.0060.00316.43
7.4.160.0030.01216.84
7.4.150.0070.01717.40
7.4.140.0120.00717.86
7.4.130.0090.00816.59
7.4.120.0130.00516.66
7.4.110.0170.00716.46
7.4.100.0090.00916.70
7.4.90.0140.00416.64
7.4.80.0030.01319.39
7.4.70.0090.00916.81
7.4.60.0090.01216.62
7.4.50.0030.01316.59
7.4.40.0070.01016.59
7.4.30.0030.02216.68
7.4.00.0080.00814.85
7.3.330.0050.00013.18
7.3.320.0000.00513.15
7.3.310.0000.00716.14
7.3.300.0070.00016.22
7.3.290.0040.00416.30
7.3.280.0090.00916.29
7.3.270.0090.00917.40
7.3.260.0070.01016.33
7.3.250.0100.01016.53
7.3.240.0070.01116.64
7.3.230.0080.00816.39
7.3.210.0100.00616.57
7.3.200.0110.00716.62
7.3.190.0030.01516.31
7.3.180.0160.00316.54
7.3.170.0120.01316.40
7.3.160.0080.00816.33
7.3.120.0060.01314.93
7.3.110.0040.01514.97
7.3.100.0100.00614.75
7.3.90.0120.00614.68
7.3.80.0080.00414.63
7.3.70.0100.00314.89
7.3.60.0040.00814.92
7.3.50.0060.00914.91
7.3.40.0060.00314.81
7.3.30.0000.01114.84
7.3.20.0100.00316.73
7.3.10.0070.00716.36
7.3.00.0120.00316.77
7.2.330.0090.01216.59
7.2.320.0120.01216.73
7.2.310.0070.01016.86
7.2.300.0060.01216.81
7.2.290.0140.00216.82
7.2.250.0070.01415.09
7.2.240.0040.01815.03
7.2.230.0000.01515.24
7.2.220.0110.00815.05
7.2.210.0040.00815.11
7.2.200.0110.00415.13
7.2.190.0000.01514.98
7.2.180.0030.01214.69
7.2.170.0090.00615.06
7.1.330.0100.00315.59
7.1.320.0070.00415.69
7.1.310.0000.01515.93
7.1.300.0040.00715.70
7.1.290.0030.00615.83
7.1.280.0040.00415.91
7.1.270.0040.00715.79
7.1.260.0080.00015.97
7.1.200.0070.00715.71
7.1.70.0050.00217.30
7.1.60.0100.01319.52
7.1.50.0070.01816.77
7.1.00.0000.07722.48
7.0.200.0000.01016.91
7.0.60.0070.08019.85
7.0.50.0070.05317.97
7.0.40.0070.08020.20
7.0.30.0270.05320.21
7.0.20.0230.03720.35
7.0.10.0030.05320.13
7.0.00.0030.08720.21
5.6.280.0030.03021.12
5.6.210.0130.06020.69
5.6.200.0070.03718.17
5.6.190.0030.08720.52
5.6.180.0170.04320.52
5.6.170.0400.07720.43
5.6.160.0030.07020.39
5.6.150.0070.03718.24
5.6.140.0030.04018.17
5.6.130.0100.07718.28
5.6.120.0070.08321.13
5.6.110.0030.04020.99
5.6.100.0130.07020.96
5.6.90.0130.07720.98
5.6.80.0030.07720.46
5.5.350.0230.06320.40
5.5.340.0070.08317.98
5.5.330.0000.07320.47
5.5.320.0530.07320.30
5.5.310.0300.08020.41
5.5.300.0030.08017.96
5.5.290.0070.07018.08
5.5.280.0100.05320.75
5.5.270.0100.04020.96
5.5.260.0000.09320.79
5.5.250.0030.09320.54
5.5.240.0100.05320.25

preferences:
55.03 ms | 401 KiB | 5 Q