3v4l.org

run code in 300+ PHP versions simultaneously
<?php $quotedString = '"(?:[^"\\\\]*(?:\\\\.(*FAIL))?)*"'; $regex = "($quotedString)"; $string = 'This is "A test of the \"Emergency System\" here..."'; var_dump(preg_match($regex, $string, $match), $match);

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.01018.43
8.3.50.0110.01121.89
8.3.40.0080.00818.79
8.3.30.0030.01318.92
8.3.20.0050.00320.34
8.3.10.0000.00823.68
8.3.00.0050.00320.47
8.2.180.0100.01016.63
8.2.170.0130.00322.96
8.2.160.0090.00621.19
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00817.88
8.2.110.0030.00722.33
8.2.100.0040.00817.91
8.2.90.0030.00619.27
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0000.00917.93
8.2.50.0000.00918.07
8.2.40.0070.00318.28
8.2.30.0030.00518.17
8.2.20.0000.00817.68
8.2.10.0080.00017.77
8.2.00.0030.00517.88
8.1.280.0100.01025.92
8.1.270.0070.00323.96
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0030.00724.02
8.1.230.0000.01219.16
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0000.00917.38
8.1.180.0000.00918.10
8.1.170.0070.00318.84
8.1.160.0060.00321.96
8.1.150.0030.00618.71
8.1.140.0040.00417.58
8.1.130.0060.00617.75
8.1.120.0030.00617.51
8.1.110.0000.00917.58
8.1.100.0080.00417.59
8.1.90.0000.00817.44
8.1.80.0080.00017.55
8.1.70.0000.00717.50
8.1.60.0000.00817.62
8.1.50.0000.00917.52
8.1.40.0030.00617.63
8.1.30.0050.00517.70
8.1.20.0060.00317.76
8.1.10.0030.00617.58
8.1.00.0000.00817.56
8.0.300.0050.00318.77
8.0.290.0050.00317.16
8.0.280.0000.00718.40
8.0.270.0050.00317.22
8.0.260.0030.00616.95
8.0.250.0040.00417.12
8.0.240.0030.00717.17
8.0.230.0000.00817.08
8.0.220.0000.00717.02
8.0.210.0000.00717.05
8.0.200.0000.00717.08
8.0.190.0000.00817.08
8.0.180.0040.00416.96
8.0.170.0030.00617.12
8.0.160.0000.00817.04
8.0.150.0000.00816.99
8.0.140.0040.00416.96
8.0.130.0030.00313.55
8.0.120.0000.00917.04
8.0.110.0000.00817.02
8.0.100.0030.00617.09
8.0.90.0000.00816.98
8.0.80.0100.00616.98
8.0.70.0030.00516.93
8.0.60.0000.00817.07
8.0.50.0000.00917.02
8.0.30.0110.00917.13
8.0.20.0060.01517.40
8.0.10.0030.00617.09
8.0.00.0120.01216.93
7.4.330.0000.00615.04
7.4.320.0040.00416.61
7.4.300.0040.00416.78
7.4.290.0060.00316.66
7.4.280.0030.00616.71
7.4.270.0050.00316.75
7.4.260.0000.00916.68
7.4.250.0080.00016.52
7.4.240.0020.00616.65
7.4.230.0030.00516.75
7.4.220.0070.01416.52
7.4.210.0080.00916.73
7.4.200.0040.00416.72
7.4.190.0050.00316.89
7.4.160.0040.01316.73
7.4.150.0110.01017.40
7.4.140.0090.01017.86
7.4.130.0060.01416.63
7.4.120.0120.01016.62
7.4.110.0140.00616.61
7.4.100.0070.01116.48
7.4.90.0110.00816.61
7.4.80.0090.01316.68
7.4.70.0030.01416.55
7.4.60.0070.01016.54
7.4.50.0000.00516.72
7.4.40.0030.01022.77
7.4.30.0040.01516.71
7.4.00.0040.01214.97
7.3.330.0030.00313.25
7.3.320.0000.00613.36
7.3.310.0070.00016.41
7.3.300.0070.00316.32
7.3.290.0110.01216.30
7.3.280.0070.01316.32
7.3.270.0000.01817.40
7.3.260.0090.01216.66
7.3.250.0050.01416.35
7.3.240.0030.01516.51
7.3.230.0090.00916.64
7.3.210.0200.00616.55
7.3.200.0060.01919.39
7.3.190.0030.01516.58
7.3.180.0060.01216.61
7.3.170.0060.01416.59
7.3.160.0090.00916.41
7.3.120.0000.01215.11
7.2.330.0080.01116.63
7.2.320.0120.00616.76
7.2.310.0100.01016.63
7.2.300.0130.00616.44
7.2.290.0100.01016.69
7.2.00.0070.00319.56
7.1.200.0110.00415.73
7.1.100.0040.00818.17
7.1.70.0000.01217.05
7.1.60.0120.01519.32
7.1.50.0060.01617.04
7.1.00.0100.07322.38
7.0.200.0030.01016.79
7.0.140.0000.07322.04
7.0.100.0100.06719.92
7.0.90.0070.07319.91
7.0.80.0000.05020.13
7.0.70.0170.05320.00
7.0.60.0130.08019.97
7.0.50.0130.04020.27
7.0.40.0100.08320.13
7.0.30.0070.08720.04
7.0.20.0070.06319.95
7.0.10.0070.09020.14
7.0.00.0100.08720.13
5.6.280.0030.08721.12
5.6.250.0030.09320.68
5.6.240.0030.07020.69
5.6.230.0030.10720.56
5.6.220.0000.07020.58
5.6.210.0170.04720.55
5.6.200.0130.07321.08
5.6.190.0130.05320.96
5.6.180.0000.09720.95
5.6.170.0200.06021.01
5.6.160.0070.06321.03
5.6.150.0100.06021.02
5.6.140.0100.09721.02
5.6.130.0100.08721.01
5.6.120.0100.08320.93
5.6.110.0070.08320.93
5.6.100.0000.05021.09
5.6.90.0130.04320.99
5.6.80.0000.05320.28
5.6.70.0030.09320.40
5.6.60.0030.05020.50
5.6.50.0130.08720.43
5.6.40.0070.07320.39
5.6.30.0070.08320.35
5.6.20.0070.08320.33
5.6.10.0130.09020.42
5.6.00.0030.09020.22
5.5.380.0100.07720.35
5.5.370.0030.05020.49
5.5.360.0030.09020.34
5.5.350.0030.05720.37
5.5.340.0130.09320.92
5.5.330.0100.08320.78
5.5.320.0100.04320.79
5.5.310.0070.04720.85
5.5.300.0070.09320.86
5.5.290.0170.07020.85
5.5.280.0070.09320.77
5.5.270.0030.06320.86
5.5.260.0100.09020.71
5.5.250.0030.09320.64
5.5.240.0030.09320.26
5.5.230.0030.04720.23
5.5.220.0100.08020.16
5.5.210.0030.05320.27
5.5.200.0100.08720.13
5.5.190.0070.07720.20
5.5.180.0070.08320.23
5.5.160.0070.09020.23
5.5.150.0070.08720.10
5.5.140.0070.08720.11
5.5.130.0170.07320.23
5.5.120.0070.09020.11
5.5.110.0170.08320.16
5.5.100.0000.10020.06
5.5.90.0070.06720.06
5.5.80.0100.07020.12
5.5.70.0100.09319.95
5.5.60.0200.07720.09
5.5.50.0130.08020.05
5.5.40.0000.05020.15
5.5.30.0230.07720.04
5.5.20.0100.08320.02
5.5.10.0100.08019.95
5.5.00.0170.08719.91
5.4.450.0030.09019.39
5.4.440.0130.03719.29
5.4.430.0070.08319.57
5.4.420.0030.07019.39
5.4.410.0070.07319.33
5.4.400.0100.07019.08
5.4.390.0000.06719.16
5.4.380.0130.07019.10
5.4.370.0030.08019.09
5.4.360.0030.09018.86
5.4.350.0070.07718.98
5.4.340.0100.06019.06
5.4.320.0070.08319.16
5.4.310.0100.08719.14
5.4.300.0100.08319.06
5.4.290.0070.07319.24
5.4.280.0070.08719.05
5.4.270.0030.08019.04
5.4.260.0030.05319.09
5.4.250.0000.05719.05
5.4.240.0170.08319.15
5.4.230.0100.06318.91
5.4.220.0000.09719.07
5.4.210.0070.08019.24
5.4.200.0000.07719.12
5.4.190.0070.05719.03
5.4.180.0070.08718.98
5.4.170.0170.08718.78
5.4.160.0030.08318.77
5.4.150.0030.09319.02
5.4.140.0030.06016.38
5.4.130.0100.08316.27
5.4.120.0070.08716.30
5.4.110.0070.07716.45
5.4.100.0000.05716.32
5.4.90.0070.07316.27
5.4.80.0030.09016.21
5.4.70.0130.04716.42
5.4.60.0100.06016.32
5.4.50.0030.06016.36
5.4.40.0100.08316.34
5.4.30.0030.08316.27
5.4.20.0100.07316.39
5.4.10.0070.05016.34
5.4.00.0100.07315.72
5.3.290.0130.08314.68
5.3.280.0070.08714.60
5.3.270.0030.09014.44
5.3.260.0070.09014.57
5.3.250.0070.08714.52
5.3.240.0070.09014.56
5.3.230.0130.07314.59
5.3.220.0100.07014.55
5.3.210.0070.05014.45
5.3.200.0070.09014.53
5.3.190.0100.07714.45
5.3.180.0070.08014.50
5.3.170.0000.09314.45
5.3.160.0070.05714.55
5.3.150.0100.08314.58
5.3.140.0030.08014.42
5.3.130.0070.09014.58
5.3.120.0030.05314.52
5.3.110.0070.04714.55
5.3.100.0000.08313.92
5.3.90.0070.07714.02
5.3.80.0030.04314.03
5.3.70.0030.07714.03
5.3.60.0100.07014.02
5.3.50.0170.06713.94
5.3.40.0070.04713.92
5.3.30.0070.06713.78
5.3.20.0100.07013.46
5.3.10.0000.06313.57
5.3.00.0200.07013.51
5.2.170.0030.05311.18
5.2.160.0000.07011.15
5.2.150.0030.06311.14
5.2.140.0070.04711.00
5.2.130.0000.06311.16
5.2.120.0070.06311.03
5.2.110.0030.06311.05
5.2.100.0030.06311.18
5.2.90.0030.06711.03
5.2.80.0100.06011.10
5.2.70.0030.04710.95
5.2.60.0000.03711.05
5.2.50.0000.06011.03
5.2.40.0030.03711.03
5.2.30.0070.05710.83
5.2.20.0030.04311.01
5.2.10.0030.04010.78
5.2.00.0070.05010.63
5.1.60.0100.0479.98
5.1.50.0100.0409.87
5.1.40.0070.0379.97
5.1.30.0100.04010.25
5.1.20.0100.04710.27
5.1.10.0030.0579.95
5.1.00.0000.06010.11
5.0.50.0000.0308.53
5.0.40.0000.0408.40
5.0.30.0330.0338.29
5.0.20.0070.0408.29
5.0.10.0030.0438.29
5.0.00.0030.0608.29
4.4.90.0070.0438.29
4.4.80.0030.0338.29
4.4.70.0030.0378.29
4.4.60.0030.0208.29
4.4.50.0030.0338.29
4.4.40.0000.0508.29
4.4.30.0000.0208.29
4.4.20.0070.0308.29
4.4.10.0000.0378.29
4.4.00.0030.0578.29
4.3.110.0000.0378.29
4.3.100.0030.0378.29
4.3.90.0030.0338.29
4.3.80.0030.0378.29
4.3.70.0000.0338.29
4.3.60.0070.0308.29
4.3.50.0030.0208.29
4.3.40.0070.0508.29
4.3.30.0000.0408.29
4.3.20.0030.0338.29
4.3.10.0030.0338.29
4.3.00.0030.0208.29

preferences:
39.69 ms | 401 KiB | 5 Q