3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = '/".*?"/ui'; $sample = 'gdfg gfdgd fdg df "gfdgdg" '; echo (int)preg_match( $pattern, $sample, $matches).PHP_EOL; print_r($matches);

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.00716.75
8.3.50.0090.01218.31
8.3.40.0150.00018.96
8.3.30.0180.00018.96
8.3.20.0040.00420.39
8.3.10.0080.00021.95
8.3.00.0050.00319.50
8.2.180.0190.00316.63
8.2.170.0120.00322.96
8.2.160.0090.00619.08
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00722.37
8.2.120.0040.00426.35
8.2.110.0000.01021.06
8.2.100.0100.00317.97
8.2.90.0000.00819.30
8.2.80.0000.00817.97
8.2.70.0090.00017.88
8.2.60.0060.00317.68
8.2.50.0060.00318.10
8.2.40.0000.00920.59
8.2.30.0100.00019.32
8.2.20.0050.00317.98
8.2.10.0040.00418.16
8.2.00.0000.00717.94
8.1.280.0140.00725.92
8.1.270.0080.00023.96
8.1.260.0090.00028.09
8.1.250.0070.00028.09
8.1.240.0110.00722.59
8.1.230.0040.00720.85
8.1.220.0040.00417.76
8.1.210.0000.00818.77
8.1.200.0030.00617.48
8.1.190.0060.00317.48
8.1.180.0140.00018.10
8.1.170.0040.00418.84
8.1.160.0000.00720.96
8.1.150.0070.00018.96
8.1.140.0050.00219.54
8.1.130.0080.00017.76
8.1.120.0040.00417.59
8.1.110.0050.00317.47
8.1.100.0040.00417.55
8.1.90.0000.00817.57
8.1.80.0030.00317.61
8.1.70.0040.00417.60
8.1.60.0080.00017.68
8.1.50.0080.00017.56
8.1.40.0000.00817.65
8.1.30.0000.00917.72
8.1.20.0070.00017.86
8.1.10.0040.00417.67
8.1.00.0000.00717.58
8.0.300.0050.00218.77
8.0.290.0040.00416.75
8.0.280.0000.00718.45
8.0.270.0030.00317.17
8.0.260.0030.00317.21
8.0.250.0040.00417.22
8.0.240.0040.00417.02
8.0.230.0070.00017.11
8.0.220.0000.00717.03
8.0.210.0070.00017.09
8.0.200.0030.00317.08
8.0.190.0030.00617.14
8.0.180.0070.00017.16
8.0.170.0040.00417.02
8.0.160.0070.00017.11
8.0.150.0040.00417.09
8.0.140.0040.00417.00
8.0.130.0000.00613.58
8.0.120.0080.00017.07
8.0.110.0000.00816.99
8.0.100.0030.00317.10
8.0.90.0000.00717.26
8.0.80.0140.00017.09
8.0.70.0030.00517.26
8.0.60.0040.00417.15
8.0.50.0080.00017.19
8.0.30.0090.01017.29
8.0.20.0110.00917.45
8.0.10.0070.00017.24
8.0.00.0130.00517.03
7.4.330.0000.00515.08
7.4.320.0030.00316.73
7.4.300.0030.00316.80
7.4.290.0030.00316.82
7.4.280.0070.00016.75
7.4.270.0030.00516.66
7.4.260.0000.00716.84
7.4.250.0000.00716.63
7.4.240.0000.00716.88
7.4.230.0070.00016.60
7.4.220.0130.00716.80
7.4.210.0060.00916.72
7.4.200.0000.00716.74
7.4.160.0100.00616.45
7.4.150.0110.00717.40
7.4.140.0140.00617.86
7.4.130.0110.00816.73
7.4.120.0080.01616.59
7.4.110.0140.00416.70
7.4.100.0120.00616.75
7.4.90.0060.01216.82
7.4.80.0140.01119.39
7.4.70.0040.01116.84
7.4.60.0040.01416.81
7.4.50.0060.00616.73
7.4.40.0060.01416.84
7.4.30.0110.01116.71
7.4.00.0110.00315.38
7.3.330.0000.00813.25
7.3.320.0030.00313.15
7.3.310.0070.00016.37
7.3.300.0030.00316.30
7.3.290.0070.01016.36
7.3.280.0050.01216.40
7.3.270.0070.01017.40
7.3.260.0090.00816.63
7.3.250.0100.00916.51
7.3.240.0100.00916.43
7.3.230.0100.00716.67
7.3.210.0100.00716.81
7.3.200.0060.00916.42
7.3.190.0070.01016.77
7.3.180.0100.01016.42
7.3.170.0120.00616.56
7.3.160.0140.00716.43
7.3.10.0130.00616.75
7.3.00.0160.00316.77
7.2.330.0080.01216.68
7.2.320.0100.00716.63
7.2.310.0100.01016.68
7.2.300.0040.01216.53
7.2.290.0060.01616.88
7.2.130.0090.00816.80
7.2.120.0130.00516.67
7.2.110.0090.00616.76
7.2.100.0090.00917.06
7.2.90.0070.01016.78
7.2.80.0070.00916.64
7.2.70.0090.00616.88
7.2.60.0070.00816.78
7.2.50.0090.00716.82
7.2.40.0090.00617.03
7.2.30.0110.00716.81
7.2.20.0110.00516.63
7.2.10.0090.00616.78
7.2.00.0080.00817.84
7.1.250.0070.00915.79
7.1.200.0040.01115.96
7.1.100.0030.01018.39
7.1.70.0030.01017.21
7.1.60.0000.01119.90
7.1.00.0070.07322.34
7.0.200.0040.01116.92
7.0.80.0070.05721.83
7.0.70.0170.04721.99
7.0.60.0100.05321.77
7.0.50.0130.05022.20
7.0.40.0170.04722.11
7.0.30.0030.07022.14
7.0.20.0070.05722.05
7.0.10.0070.05722.02
7.0.00.0130.05722.14
5.6.280.0030.07320.98
5.6.230.0170.05020.68
5.6.220.0170.04720.73
5.6.210.0070.05720.63
5.6.200.0070.06021.07
5.6.190.0100.05321.13
5.6.180.0130.05021.01
5.6.170.0130.05321.11
5.6.160.0070.05721.13
5.6.150.0030.06021.09
5.6.140.0100.05721.16
5.6.130.0130.05321.08
5.6.120.0130.07021.09
5.6.110.0070.07021.00
5.6.100.0170.04721.00
5.6.90.0070.06021.06
5.6.80.0070.05320.45
5.6.70.0130.04720.56
5.6.60.0070.05720.52
5.6.50.0100.05020.40
5.6.40.0070.05320.43
5.6.30.0030.05720.43
5.6.20.0100.05020.36
5.6.10.0000.06020.55
5.6.00.0100.05020.38
5.5.370.0130.05720.55
5.5.360.0070.05720.40
5.5.350.0070.05720.39
5.5.340.0130.05020.85
5.5.330.0070.05320.96
5.5.320.0030.06020.93
5.5.310.0170.04720.82
5.5.300.0070.05720.88
5.5.290.0100.05720.88
5.5.280.0100.08320.84
5.5.270.0100.05720.87
5.5.260.0100.06020.75
5.5.250.0030.06320.57
5.5.240.0100.05020.21
5.5.230.0130.04720.34
5.5.220.0070.05320.26
5.5.210.0070.05320.26
5.5.200.0200.03720.13
5.5.190.0100.05320.17
5.5.180.0100.05320.20
5.5.160.0130.04720.21
5.5.150.0070.05320.30
5.5.140.0030.05720.26
5.5.130.0170.06020.25
5.5.120.0130.04720.19
5.5.110.0070.05320.28
5.5.100.0030.05720.09
5.5.90.0130.05320.12
5.5.80.0230.03720.06
5.5.70.0100.05320.21
5.5.60.0100.05020.07
5.5.50.0130.04720.17
5.5.40.0130.04720.05
5.5.30.0100.05020.04
5.5.20.0130.05020.11
5.5.10.0070.05720.09
5.5.00.0070.05720.04

preferences:
68.35 ms | 401 KiB | 5 Q