3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strings = [ "Pizza 'PizzaName' this is a certain pizza", "Pizza 'NamePizza' this is a certain pizza", "Pizza 'Hawaii' this is a certain pizza", "Pizza 'Pepperoni' this is a certain pizza", "Pizza is a very nice pizza" ]; foreach ($strings as $string) { print_r(preg_split("~[^']+'[^']+'\K ~", $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.3.130.0040.00418.34
8.3.120.0100.00020.81
8.3.110.0090.00016.75
8.3.100.0030.00516.76
8.3.90.0080.00026.77
8.3.80.0030.00619.36
8.3.70.0150.00316.73
8.3.60.0110.01118.33
8.3.50.0040.01418.16
8.3.40.0110.00718.92
8.3.30.0110.00418.68
8.3.20.0130.00318.91
8.3.10.0120.00423.65
8.3.00.0070.00720.82
8.2.250.0030.00517.09
8.2.240.0170.00017.07
8.2.230.0060.00320.94
8.2.220.0060.00337.54
8.2.210.0050.00326.77
8.2.200.0080.00418.88
8.2.190.0070.01118.30
8.2.180.0150.00618.42
8.2.170.0040.01122.96
8.2.160.0110.00422.39
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0070.00020.96
8.2.110.0100.00019.33
8.2.100.0110.00018.16
8.2.90.0000.00917.88
8.2.80.0040.00417.97
8.2.70.0000.00818.03
8.2.60.0040.00418.22
8.2.50.0000.00818.10
8.2.40.0040.00419.51
8.2.30.0040.00419.34
8.2.20.0030.00517.94
8.2.10.0040.00418.18
8.2.00.0070.00317.79
8.1.300.0050.00318.33
8.1.290.0030.00630.84
8.1.280.0030.01725.92
8.1.270.0040.00420.31
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0040.00422.13
8.1.230.0080.00319.00
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.25
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0040.00418.83
8.1.160.0040.00418.93
8.1.150.0000.00818.98
8.1.140.0000.00722.11
8.1.130.0000.00720.30
8.1.120.0000.00717.62
8.1.110.0000.00717.50
8.1.100.0000.00717.65
8.1.90.0000.00717.63
8.1.80.0030.00317.62
8.1.70.0030.00317.58
8.1.60.0050.00317.75
8.1.50.0040.00417.59
8.1.40.0040.00417.67
8.1.30.0000.00817.66
8.1.20.0050.00217.83
8.1.10.0040.00417.52
8.1.00.0090.00017.54
8.0.300.0050.00218.77
8.0.290.0000.00716.75
8.0.280.0080.00018.47
8.0.270.0070.00016.97
8.0.260.0030.00318.55
8.0.250.0030.00317.13
8.0.240.0040.00417.10
8.0.230.0050.00317.16
8.0.220.0070.00017.04
8.0.210.0000.00716.92
8.0.200.0050.00317.12
8.0.190.0000.00717.00
8.0.180.0000.00817.10
8.0.170.0030.00617.05
8.0.160.0040.00416.98
8.0.150.0070.00316.97
8.0.140.0040.00416.94
8.0.130.0060.00013.55
8.0.120.0070.00016.91
8.0.110.0000.00817.05
8.0.100.0030.00516.89
8.0.90.0040.00416.96
8.0.80.0050.01517.09
8.0.70.0000.00817.14
8.0.60.0000.00817.08
8.0.50.0070.00017.10
8.0.30.0120.00717.31
8.0.20.0030.01617.40
8.0.10.0030.00517.05
8.0.00.0110.00616.99
7.4.330.0000.00515.55
7.4.320.0000.00616.58
7.4.300.0040.00416.72
7.4.290.0070.00016.71
7.4.280.0040.00416.71
7.4.270.0000.00716.72
7.4.260.0030.00316.64
7.4.250.0080.00016.77
7.4.240.0000.00716.84
7.4.230.0070.00016.74
7.4.220.0040.00416.84
7.4.210.0090.00616.75
7.4.200.0000.00716.48
7.4.160.0120.00616.63
7.4.140.0090.01017.86
7.4.130.0080.01116.76
7.4.120.0090.00816.64
7.4.110.0090.01616.45
7.4.100.0160.00616.69
7.4.90.0160.00616.61
7.4.80.0070.01019.39
7.4.70.0030.01316.61
7.4.60.0070.01116.70
7.4.50.0140.00016.34
7.4.40.0090.00916.57
7.4.00.0050.01115.21
7.3.330.0080.00013.21
7.3.320.0060.00013.20
7.3.310.0060.00316.57
7.3.300.0070.00016.42
7.3.290.0030.00316.29
7.3.280.0070.00916.44
7.3.260.0130.00916.53
7.3.240.0090.00816.62
7.3.230.0030.01416.52
7.3.210.0140.00316.79
7.3.200.0160.00016.38
7.3.190.0060.01216.43
7.3.180.0080.00816.53
7.3.170.0090.01416.47
7.3.160.0100.00716.89
7.3.120.0100.00714.86
7.3.110.0030.01014.88
7.3.100.0060.00314.67
7.3.90.0090.00615.23
7.3.80.0110.00315.21
7.3.70.0090.00314.83
7.3.60.0120.00414.82
7.3.50.0030.01314.71
7.3.40.0070.00314.73
7.3.30.0000.01614.68
7.3.20.0060.00916.91
7.3.10.0090.00316.87
7.3.00.0100.00316.86
7.2.330.0100.00716.69
7.2.320.0050.01316.71
7.2.310.0080.01216.68
7.2.300.0030.01316.71
7.2.290.0030.01316.68
7.2.250.0130.00615.27
7.2.240.0040.01515.14
7.2.230.0040.01115.40
7.2.220.0040.00415.05
7.2.210.0100.00715.12
7.2.200.0070.00715.03
7.2.190.0060.00915.22
7.2.180.0040.01215.35
7.2.170.0070.00714.93
7.2.110.0160.00414.78
7.2.100.0190.00914.95
7.2.90.0150.01014.87
7.2.80.0120.00915.00
7.2.70.0230.00315.00
7.2.60.0210.00415.13
7.2.50.0200.00315.23
7.2.40.0110.01115.23
7.2.30.0210.00314.92
7.2.20.0220.00715.21
7.2.10.0170.00415.19
7.2.00.0240.00715.19
7.1.330.0100.00315.84
7.1.320.0030.00515.70
7.1.310.0000.01516.23
7.1.300.0000.01215.99
7.1.290.0000.01615.88
7.1.280.0000.01316.04
7.1.270.0000.00815.95
7.1.260.0030.01015.93
7.1.230.0160.00914.18
7.1.220.0130.00913.82
7.1.210.0120.00614.23
7.1.200.0130.00914.05
7.1.190.0150.00314.08
7.1.180.0100.01014.05
7.1.170.0130.00614.18
7.1.160.0140.00614.18
7.1.150.0170.01414.02
7.1.140.0150.00714.01
7.1.130.0220.00614.21
7.1.120.0190.00314.05
7.1.110.0190.00813.87
7.1.100.0250.00413.73
7.1.90.0190.01014.09
7.1.80.0190.00314.05
7.1.70.0130.00614.07
7.1.60.0330.00732.16
7.1.50.0400.00431.97
7.1.40.0450.01032.18
7.1.30.0260.01632.16
7.1.20.0440.01031.97
7.1.10.0160.01313.91
7.1.00.0170.00613.88
5.6.380.0160.00414.61

preferences:
32.14 ms | 403 KiB | 5 Q