3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(preg_split('/".*?"(*SKIP)(*FAIL)|(\(|\))| /', '+test +word any -sampe (+toto +titi "generic test") -column:"test this" (+data id:1234)',-1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY)); print_r(Array('+test', '+word', 'any', '-sample', '(', '+toto', '+titi', '"generic test"', ')', '-column:"test this"', '(', '+data', 'id:1234') );

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.0060.00918.56
8.3.50.0150.00620.37
8.3.40.0120.00420.33
8.3.30.0110.00318.70
8.3.20.0000.00724.18
8.3.10.0070.00024.66
8.3.00.0080.00026.16
8.2.180.0100.01025.92
8.2.170.0070.01118.82
8.2.160.0070.01322.96
8.2.150.0050.00225.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00719.95
8.2.110.0030.00620.47
8.2.100.0060.00617.75
8.2.90.0000.00720.64
8.2.80.0030.00617.97
8.2.70.0030.00617.63
8.2.60.0050.00317.63
8.2.50.0060.00317.98
8.2.40.0070.00417.78
8.2.30.0040.00417.93
8.2.20.0050.00220.34
8.2.10.0000.00717.96
8.2.00.0040.00419.02
8.1.280.0030.01425.92
8.1.270.0040.00424.02
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0050.00523.73
8.1.230.0090.00321.04
8.1.220.0000.00817.74
8.1.210.0040.00418.91
8.1.200.0000.00817.35
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0040.00417.62
8.1.160.0000.00718.85
8.1.150.0040.00418.54
8.1.140.0040.00417.46
8.1.130.0050.00217.34
8.1.120.0000.00717.46
8.1.110.0070.00017.49
8.1.100.0040.00417.36
8.1.90.0000.00717.47
8.1.80.0000.00717.44
8.1.70.0030.00317.50
8.1.60.0060.00617.55
8.1.50.0110.00417.49
8.1.40.0090.00317.59
8.1.30.0130.00517.69
8.1.20.0140.00317.54
8.1.10.0130.00417.53
8.1.00.0100.00717.36
8.0.300.0000.00719.90
8.0.290.0090.00016.73
8.0.280.0000.00718.24
8.0.270.0070.00016.84
8.0.260.0030.00516.71
8.0.250.0030.00316.95
8.0.240.0030.00316.99
8.0.230.0000.00717.00
8.0.220.0000.00716.91
8.0.210.0070.00016.91
8.0.200.0030.00316.94
8.0.190.0080.00716.82
8.0.180.0150.00016.76
8.0.170.0100.00516.71
8.0.160.0150.00016.93
8.0.150.0090.00316.82
8.0.140.0030.00716.82
8.0.130.0050.00316.93
8.0.120.0050.00516.82
8.0.110.0030.00616.76
8.0.100.0050.00516.87
8.0.90.0000.00816.75
8.0.80.0000.00916.95
8.0.70.0070.00216.85
8.0.60.0000.00716.83
8.0.50.0120.00316.80
8.0.30.0120.00016.91
8.0.20.0050.00817.04
8.0.10.0000.01016.89
7.4.330.0000.00515.55
7.4.320.0030.00316.69
7.4.300.0040.00416.65
7.4.290.0030.00316.67
7.4.280.0000.00716.52
7.4.270.0050.00216.48
7.4.260.0000.00816.57
7.4.250.0170.00016.60
7.4.240.0040.00716.47
7.4.230.0120.00516.56
7.4.220.0120.00416.64
7.4.210.0160.00016.54
7.4.200.0110.00416.46
7.4.190.0150.00016.60
7.4.180.0150.00016.65
7.4.160.0080.00716.71
7.4.150.0140.00316.71
7.4.140.0120.00416.57
7.4.130.0090.00616.56
7.4.120.0080.00616.54
7.4.110.0050.00516.40
7.4.100.0060.00316.59
7.4.90.0080.00416.57
7.4.80.0050.00516.56
7.4.70.0080.00416.59
7.4.60.0080.00416.46
7.4.50.0000.01216.27
7.4.40.0080.00516.36
7.4.30.0080.00416.44
7.4.20.0070.00716.30
7.4.10.0090.00516.38
7.4.00.0110.00316.34

preferences:
55.85 ms | 400 KiB | 5 Q