3v4l.org

run code in 300+ PHP versions simultaneously
<?php $res = false; @preg_replace("/fuck/e\x00bitchez/i",'$res = true;',"fuck"); if(false===$res)echo 'Not '; echo "Vulnerable, PHP ".phpversion();

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)
7.2.00.0140.00019.33
7.1.70.0000.00716.95
7.1.60.0070.00717.23
7.1.50.0070.01816.90
7.1.00.0070.06322.33
7.0.200.0060.01016.69
7.0.140.0030.07022.09
7.0.60.0070.08020.00
7.0.50.0100.07717.66
7.0.40.0070.06020.05
7.0.30.0270.03320.01
7.0.20.0300.07320.13
7.0.10.0000.04720.20
7.0.00.0030.04020.23
5.6.280.0030.07321.12
5.6.210.0100.07020.75
5.6.200.0070.08018.17
5.6.190.0070.04020.45
5.6.180.0370.07020.39
5.6.170.0330.08020.33
5.6.160.0100.07720.70
5.6.150.0030.04018.09
5.6.140.0100.04718.16
5.6.130.0030.05318.14
5.6.120.0030.04021.11
5.6.110.0130.07321.00
5.6.100.0070.08020.88
5.6.90.0100.08020.98
5.6.80.0170.05720.52
5.5.350.0030.10020.39
5.5.340.0070.04717.91
5.5.330.0000.04720.43
5.5.320.0030.03720.23
5.5.310.0230.07720.38
5.5.300.0100.05017.91
5.5.290.0070.04317.98
5.5.280.0070.07720.76
5.5.270.0000.07720.75
5.5.260.0070.07020.86
5.5.250.0230.06720.67
5.5.240.2630.03020.15
5.4.450.0130.06319.51
5.4.440.0030.05019.11
5.4.430.0070.03719.11
5.4.420.0070.03719.15
5.4.410.0070.04019.35
5.4.400.0030.03719.05
5.4.390.0000.04019.15
5.4.380.0100.03719.14
5.4.370.0100.03718.79
5.4.360.0070.04319.18
5.4.350.0030.03718.92
5.4.340.0070.04018.92
5.4.320.0070.03718.77
5.4.310.0070.03319.08
5.4.300.0000.04018.79
5.4.290.0070.03718.79
5.4.280.0030.03719.18
5.4.270.0100.03019.17
5.4.260.0030.03719.13
5.4.250.0030.03718.78
5.4.240.0030.03719.18
5.4.230.0030.03719.08
5.4.220.0030.03718.99
5.4.210.0170.03019.12
5.4.200.0000.04019.13
5.4.190.0030.03718.93
5.4.180.0130.04718.91
5.4.170.0100.07018.91
5.4.160.0100.07019.16
5.4.150.0000.07019.15
5.4.140.0100.06716.25
5.4.130.0170.06316.33
5.4.120.0100.07016.19
5.4.110.0070.07716.41
5.4.100.0070.07316.36
5.4.90.0030.04016.61
5.4.80.0170.06316.27
5.4.70.0070.06716.22
5.4.60.0100.06716.24
5.4.50.0070.04016.21
5.4.40.0030.04016.26
5.4.30.0100.06716.25
5.4.20.0070.06316.25
5.4.10.0000.05016.20
5.4.00.0100.06715.82
5.3.290.0070.04014.59
5.3.280.0030.03714.53
5.3.270.0070.07714.49
5.3.260.0030.08314.55
5.3.250.0100.05314.58
5.3.240.0030.04714.55
5.3.230.0070.04014.39
5.3.220.0070.07314.36
5.3.210.0070.06314.55
5.3.200.0130.07314.45
5.3.190.0100.07314.66
5.3.180.0030.08014.51
5.3.170.0070.05314.44
5.3.160.0030.05714.52
5.3.150.0000.07014.58
5.3.140.0030.07714.48
5.3.130.0070.07314.53
5.3.120.0000.07714.51
5.3.110.0200.06714.45
5.3.100.0070.06313.96
5.3.90.0000.05713.90
5.3.80.0130.03314.11
5.3.70.0200.04013.96
5.3.60.0070.07714.09
5.3.50.0030.05713.88
5.3.40.0170.04013.93
5.3.30.0030.05713.85
5.3.20.0070.04313.61
5.3.10.0070.05013.59
5.3.00.0070.06713.58
5.2.170.0000.03311.05
5.2.160.0100.05711.14
5.2.150.0000.06311.05
5.2.140.0070.06011.14
5.2.130.0100.05711.07
5.2.120.0070.04711.04
5.2.110.0070.06011.18
5.2.100.0000.06711.26
5.2.90.0130.05311.09
5.2.80.0070.06311.26
5.2.70.0030.06011.07
5.2.60.0030.03710.88
5.2.50.0100.06010.88
5.2.40.0130.05310.91
5.2.30.0070.06711.05
5.2.20.0070.06310.91
5.2.10.0070.04310.81
5.2.00.0100.05010.88
5.1.60.0000.05710.00
5.1.50.0030.05310.05
5.1.40.0030.0479.95
5.1.30.0030.03710.42
5.1.20.0100.05010.25
5.1.10.0000.0309.97
5.1.00.0070.02310.03
5.0.50.0030.0278.54
5.0.40.0100.0378.40
5.0.30.0030.0438.20
5.0.20.0030.0438.11
5.0.10.0070.0408.10
5.0.00.0030.0508.06
4.4.90.0030.0338.05
4.4.80.0000.0408.05
4.4.70.0100.0278.05
4.4.60.0070.0278.05
4.4.50.0070.0338.05
4.4.40.0030.0408.05
4.4.30.0000.0278.05
4.4.20.0070.0208.05
4.4.10.0000.0178.05
4.4.00.0070.0508.05
4.3.110.0000.0408.05
4.3.100.0000.0378.05
4.3.90.0030.0238.05
4.3.80.0000.0578.05
4.3.70.0000.0338.05
4.3.60.0030.0338.05
4.3.50.0070.0338.05
4.3.40.0030.0438.05
4.3.30.0000.0378.05
4.3.20.0000.0378.05
4.3.10.0030.0338.05
4.3.00.0000.0238.05

preferences:
36.2 ms | 400 KiB | 5 Q