3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testValue = 'mdpre'; $baseValue = 'fdsdfsmdprefid'; var_dump(preg_match('/' . $testValue . '$/', $baseValue));

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.40.0090.00618.96
8.3.30.0120.00318.89
8.3.20.0000.00820.34
8.3.10.0000.00822.14
8.3.00.0050.00522.35
8.2.170.0140.00322.96
8.2.160.0150.00019.04
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0030.00619.55
8.2.110.0040.00422.01
8.2.100.0060.00619.31
8.2.90.0030.00518.90
8.2.80.0030.00619.21
8.2.70.0040.00417.75
8.2.60.0030.00617.80
8.2.50.0000.00818.07
8.2.40.0040.00418.07
8.2.30.0040.00418.11
8.2.20.0000.00717.77
8.2.10.0030.00617.82
8.2.00.0040.00417.77
8.1.270.0040.00418.75
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00323.78
8.1.230.0120.00019.16
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0030.00717.48
8.1.190.0080.00017.29
8.1.180.0050.00318.57
8.1.170.0030.00518.73
8.1.160.0020.00522.16
8.1.150.0000.00818.66
8.1.140.0000.00717.59
8.1.130.0050.00517.76
8.1.120.0040.00417.61
8.1.110.0000.00817.46
8.1.100.0000.00717.61
8.1.90.0030.00517.66
8.1.80.0000.00817.56
8.1.70.0000.00717.55
8.1.60.0030.00617.69
8.1.50.0080.00017.68
8.1.40.0030.00517.52
8.1.30.0070.00017.61
8.1.20.0000.00817.71
8.1.10.0000.00717.70
8.1.00.0000.00817.48
8.0.300.0000.00718.77
8.0.290.0040.00416.91
8.0.280.0000.00718.48
8.0.270.0030.00317.30
8.0.260.0000.00816.96
8.0.250.0040.00417.10
8.0.240.0000.00917.06
8.0.230.0000.00717.08
8.0.220.0030.00317.09
8.0.210.0000.00717.01
8.0.200.0000.00617.13
8.0.190.0080.00016.97
8.0.180.0000.00717.06
8.0.170.0030.00617.05
8.0.160.0040.00416.89
8.0.150.0040.00417.05
8.0.140.0080.00016.95
8.0.130.0050.00013.43
8.0.120.0000.00716.91
8.0.110.0040.00417.07
8.0.100.0080.00016.98
8.0.90.0030.00316.98
8.0.80.0120.00317.00
8.0.70.0070.00017.03
8.0.60.0000.00716.82
8.0.50.0020.00516.94
8.0.30.0110.00817.44
8.0.20.0080.01117.44
8.0.10.0000.00716.89
8.0.00.0080.01116.84
7.4.330.0020.00215.00
7.4.320.0030.00316.72
7.4.300.0000.00616.50
7.4.290.0070.00016.67
7.4.280.0000.00816.71
7.4.270.0070.00016.64
7.4.260.0000.00816.65
7.4.250.0040.00416.50
7.4.240.0020.00616.60
7.4.230.0000.00716.64
7.4.220.0120.00716.57
7.4.210.0050.00916.64
7.4.200.0030.00316.69
7.4.190.0030.00416.80
7.4.160.0060.01216.75
7.4.150.0130.00317.40
7.4.140.0110.01017.86
7.4.130.0100.01116.55
7.4.120.0110.00616.57
7.4.110.0130.00416.63
7.4.100.0130.01016.41
7.4.90.0110.00616.60
7.4.80.0090.00919.39
7.4.70.0080.00816.73
7.4.60.0100.00716.63
7.4.50.0000.00916.59
7.4.40.0130.00322.77
7.4.30.0130.00316.62
7.4.00.0090.00914.88
7.3.330.0000.00513.32
7.3.320.0000.00613.26
7.3.310.0000.00716.48
7.3.300.0070.00016.36
7.3.290.0000.01616.35
7.3.280.0100.00716.35
7.3.270.0100.00717.40
7.3.260.0120.00416.59
7.3.250.0090.00916.64
7.3.240.0090.00916.57
7.3.230.0100.00716.55
7.3.210.0130.00316.44
7.3.200.0130.00319.39
7.3.190.0080.00916.51
7.3.180.0000.01616.86
7.3.170.0040.01216.48
7.3.160.0130.00316.60
7.3.120.0090.00614.70
7.3.10.0000.01116.75
7.3.00.0100.00316.64
7.2.330.0090.01416.88
7.2.320.0090.01416.72
7.2.310.0060.01116.77
7.2.300.0100.01016.79
7.2.290.0130.00316.70
7.2.130.0110.00317.04
7.2.120.0070.00317.05
7.2.110.0070.00716.91
7.2.100.0000.00917.04
7.2.90.0090.00316.93
7.2.80.0040.01016.77
7.2.70.0030.00716.95
7.2.60.0120.00017.09
7.2.50.0040.00816.95
7.2.40.0130.00016.83
7.2.30.0050.00517.12
7.2.20.0070.00716.97
7.2.10.0110.00316.66
7.2.00.0060.00818.26
7.1.250.0040.00415.97
7.1.100.0100.00718.45
7.1.70.0060.00317.31
7.1.60.0100.00719.82
7.1.50.0040.00717.34
7.1.00.0130.06022.49
7.0.200.0000.00716.75
7.0.140.0030.07722.09
7.0.110.0070.08020.09
7.0.100.0100.08319.91
7.0.90.0130.07720.08
7.0.80.0130.06719.96
7.0.70.0070.08019.84
7.0.60.0000.08020.04
7.0.50.0100.04320.00
7.0.40.0170.06319.75
7.0.30.0130.08019.73
7.0.20.0070.06719.65
7.0.10.0070.07319.74
7.0.00.0100.07319.81
5.6.280.0070.07021.06
5.6.260.0070.08320.88
5.6.250.0070.07720.65
5.6.240.0070.06320.86
5.6.230.0170.05320.50
5.6.220.0070.08020.62
5.6.210.0100.07020.62
5.6.200.0130.08020.65
5.6.190.0070.08020.70
5.6.180.0030.08320.55
5.6.170.0000.07720.54
5.6.160.0130.04720.55
5.6.150.0030.04320.59
5.6.140.0030.08020.64
5.6.130.0070.07720.60
5.6.120.0000.04720.58
5.6.110.0100.07720.66
5.6.100.0130.07320.62
5.6.90.0100.06020.44
5.6.80.0100.07319.98
5.6.70.0170.05720.06
5.6.60.0100.07320.22
5.6.50.0000.07319.87
5.6.40.0000.08020.06
5.6.30.0130.06719.92
5.6.20.0100.07020.04
5.6.10.0030.08320.05
5.6.00.0130.04019.99
5.5.380.0100.07320.52
5.5.370.0000.08720.28
5.5.360.0100.07720.49
5.5.350.0000.08720.38
5.5.340.0100.07721.03
5.5.330.0070.08720.73
5.5.320.0030.08320.78
5.5.310.0070.08720.97
5.5.300.0070.07020.80
5.5.290.0030.05320.90
5.5.280.0100.07320.88
5.5.270.0030.08320.90
5.5.260.0100.07720.93
5.5.250.0030.08020.70
5.5.240.0000.08020.12
5.5.230.0030.08020.26
5.5.220.0100.08020.35
5.5.210.0070.04320.15
5.5.200.0070.05020.19
5.5.190.0100.07720.14
5.5.180.0170.06720.21
5.5.160.0030.06020.15
5.5.150.0100.07720.33
5.5.140.0030.04720.20
5.5.130.0100.07320.09
5.5.120.0030.08020.11
5.5.110.0170.06720.20
5.5.100.0070.05720.19
5.5.90.0170.03320.22
5.5.80.0030.07320.07
5.5.70.0100.07320.13
5.5.60.0100.07719.98
5.5.50.0070.07720.16
5.5.40.0070.07320.25
5.5.30.0170.06720.11
5.5.20.0030.07320.14
5.5.10.0170.06720.01
5.5.00.0070.07020.14
5.4.450.0100.04719.53
5.4.440.0100.06719.35
5.4.430.0100.07319.59
5.4.420.0100.07019.33
5.4.410.0030.08019.35
5.4.400.0130.07018.96
5.4.390.0100.07318.95
5.4.380.0100.06719.00
5.4.370.0000.04719.02
5.4.360.0030.07719.03
5.4.350.0030.06319.02
5.4.340.0030.07719.12
5.4.320.0070.07019.00
5.4.310.0070.07719.03
5.4.300.0130.04019.18
5.4.290.0100.07019.16
5.4.280.0070.07719.00
5.4.270.0100.04719.16
5.4.260.0100.07019.12
5.4.250.0070.07319.26
5.4.240.0100.07318.94
5.4.230.0030.07719.07
5.4.220.0070.08019.11
5.4.210.0130.07019.11
5.4.200.0100.07319.00
5.4.190.0030.07718.99
5.4.180.0000.05019.06
5.4.170.0200.05718.91
5.4.160.0000.07719.09
5.4.150.0100.07318.92
5.4.140.0000.07716.53
5.4.130.0030.06316.18
5.4.120.0000.05016.41
5.4.110.0170.06716.40
5.4.100.0070.05016.48
5.4.90.0100.06716.52
5.4.80.0070.07716.40
5.4.70.0100.06716.49
5.4.60.0270.04716.35
5.4.50.0030.07016.45
5.4.40.0130.06016.43
5.4.30.0030.07016.46
5.4.20.0130.05316.26
5.4.10.0100.07016.50
5.4.00.0000.07715.63
5.3.290.0030.06014.67
5.3.280.0070.07714.38
5.3.270.0130.06314.50
5.3.260.0100.07014.46
5.3.250.0170.06314.49
5.3.240.0030.07014.66
5.3.230.0170.07314.61
5.3.220.0030.06314.43
5.3.210.0000.08014.41
5.3.200.0070.07314.63
5.3.190.0030.07714.66
5.3.180.0100.07714.48
5.3.170.0000.08314.59
5.3.160.0130.07014.41
5.3.150.0070.07014.36
5.3.140.0070.04314.57
5.3.130.0100.06714.64
5.3.120.0030.07714.43
5.3.110.0070.08314.61
5.3.100.0100.05313.89
5.3.90.0130.07014.09
5.3.80.0030.07313.84
5.3.70.0070.07013.95
5.3.60.0030.08013.88
5.3.50.0030.07713.78
5.3.40.0070.04014.01
5.3.30.0070.07313.73
5.3.20.0030.05713.56
5.3.10.0130.06013.51
5.3.00.0100.06313.73
5.2.170.0030.06013.09
5.2.160.0000.05713.09
5.2.150.0070.06313.09
5.2.140.0070.04713.09
5.2.130.0000.06313.09
5.2.120.0000.06313.09
5.2.110.0030.06013.09
5.2.100.0030.06313.09
5.2.90.0070.06013.09
5.2.80.0070.06313.09
5.2.70.0000.06313.09
5.2.60.0130.05013.09
5.2.50.0000.06313.09
5.2.40.0030.06313.09
5.2.30.0070.03013.09
5.2.20.0070.05013.09
5.2.10.0070.05313.09
5.2.00.0030.06313.09
5.1.60.0030.02713.09
5.1.50.0070.05013.09
5.1.40.0070.02013.09
5.1.30.0070.05313.09
5.1.20.0000.04713.09
5.1.10.0070.05313.09
5.1.00.0070.05713.09
5.0.50.0000.05013.09
5.0.40.0030.04313.09
5.0.30.0030.06713.09
5.0.20.0070.02013.09
5.0.10.0000.04313.09
5.0.00.0000.05013.09
4.4.90.0070.03013.09
4.4.80.0000.03713.09
4.4.70.0030.03313.09
4.4.60.0000.03713.09
4.4.50.0030.03313.09
4.4.40.0030.05013.09
4.4.30.0000.02713.09
4.4.20.0070.03013.09
4.4.10.0030.03313.09
4.4.00.0030.05313.09
4.3.110.0070.03013.09
4.3.100.0000.03313.09
4.3.90.0100.02713.09
4.3.80.0070.05313.09
4.3.70.0000.03713.09
4.3.60.0000.03713.09
4.3.50.0030.03713.09
4.3.40.0030.05313.09
4.3.30.0030.03313.09
4.3.20.0000.03713.09
4.3.10.0000.03713.09
4.3.00.0030.01713.09

preferences:
36.58 ms | 400 KiB | 5 Q