3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('#<(Password)>\s*+(?P<password>.*?)\s*</\1>#', '<Password> toto </Password>', $match); var_dump($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.0070.01316.75
8.3.50.0130.00722.90
8.3.40.0070.01518.60
8.3.30.0060.00918.88
8.3.20.0080.00020.34
8.3.10.0080.00023.65
8.3.00.0080.00019.38
8.2.180.0070.00716.38
8.2.170.0140.00022.96
8.2.160.0070.00720.33
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0140.00426.16
8.2.120.0040.00421.11
8.2.110.0060.00322.42
8.2.100.0130.00019.34
8.2.90.0070.00319.11
8.2.80.0060.00317.97
8.2.70.0050.00317.75
8.2.60.0040.00417.68
8.2.50.0090.00318.07
8.2.40.0030.00519.94
8.2.30.0040.00417.97
8.2.20.0050.00317.72
8.2.10.0040.00417.87
8.2.00.0080.00017.63
8.1.280.0110.01125.92
8.1.270.0110.00023.91
8.1.260.0000.00826.35
8.1.250.0030.00528.09
8.1.240.0090.00023.82
8.1.230.0080.00419.00
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0040.00817.35
8.1.190.0000.00817.10
8.1.180.0030.00518.10
8.1.170.0050.00318.78
8.1.160.0000.00721.93
8.1.150.0050.00218.66
8.1.140.0050.00217.48
8.1.130.0000.00817.75
8.1.120.0040.00417.50
8.1.110.0000.00817.53
8.1.100.0000.00817.43
8.1.90.0000.00817.47
8.1.80.0070.00017.52
8.1.70.0000.00717.36
8.1.60.0000.00817.61
8.1.50.0080.00017.53
8.1.40.0000.00817.53
8.1.30.0060.00317.65
8.1.20.0030.00517.75
8.1.10.0000.00717.59
8.1.00.0000.00817.55
8.0.300.0020.00518.77
8.0.290.0000.00816.63
8.0.280.0030.00318.27
8.0.270.0000.00717.04
8.0.260.0000.00717.12
8.0.250.0020.00517.02
8.0.240.0080.00016.86
8.0.230.0000.00717.02
8.0.220.0030.00316.98
8.0.210.0030.00316.80
8.0.200.0040.00417.00
8.0.190.0060.00316.94
8.0.180.0000.00716.96
8.0.170.0080.00016.86
8.0.160.0000.00916.81
8.0.150.0040.00416.91
8.0.140.0030.00316.78
8.0.130.0000.00613.30
8.0.120.0040.00416.78
8.0.110.0000.00716.92
8.0.100.0040.00416.71
8.0.90.0050.00216.90
8.0.80.0090.00616.90
8.0.70.0040.00416.95
8.0.60.0040.00416.86
8.0.50.0050.00216.93
8.0.30.0120.01017.04
8.0.20.0060.01317.40
8.0.10.0000.00717.07
8.0.00.0100.00816.89
7.4.330.0030.00315.00
7.4.320.0000.00616.49
7.4.300.0060.00016.51
7.4.290.0000.00716.57
7.4.280.0030.00616.50
7.4.270.0070.00016.70
7.4.260.0000.00716.57
7.4.250.0030.00516.58
7.4.240.0000.00816.62
7.4.230.0080.00016.40
7.4.220.0090.00916.79
7.4.210.0070.00716.59
7.4.200.0000.00816.66
7.4.160.0130.00916.64
7.4.150.0060.01117.40
7.4.140.0130.00817.86
7.4.130.0050.01116.70
7.4.120.0080.01016.53
7.4.110.0030.01316.43
7.4.100.0070.01416.29
7.4.90.0030.01316.52
7.4.80.0060.01919.39
7.4.70.0130.00416.78
7.4.60.0120.00616.43
7.4.50.0060.00316.55
7.4.40.0070.01416.56
7.4.30.0120.00616.51
7.4.00.0090.00514.91
7.3.330.0060.00013.19
7.3.320.0040.00413.20
7.3.310.0040.00416.33
7.3.300.0060.00016.20
7.3.290.0030.01016.29
7.3.280.0070.01416.32
7.3.270.0140.00317.40
7.3.260.0030.01316.35
7.3.250.0100.00716.47
7.3.240.0060.01016.41
7.3.230.0100.00916.59
7.3.210.0090.00916.30
7.3.200.0120.00619.39
7.3.190.0090.00816.54
7.3.180.0030.01316.37
7.3.170.0040.01116.46
7.3.160.0100.00616.27
7.3.120.0050.01014.83
7.3.110.0070.01114.53
7.3.100.0090.00615.09
7.3.90.0030.01614.46
7.3.80.0130.00314.78
7.3.70.0090.00614.78
7.3.60.0080.00414.76
7.3.50.0030.01414.92
7.3.40.0100.00314.66
7.3.30.0040.00714.86
7.3.20.0070.01016.71
7.3.10.0130.00516.41
7.3.00.0050.01016.47
7.2.330.0100.01016.56
7.2.320.0110.00716.48
7.2.310.0090.00916.55
7.2.300.0120.00616.58
7.2.290.0060.01016.49
7.2.250.0030.01614.88
7.2.240.0060.01515.00
7.2.230.0140.00315.09
7.2.220.0070.00714.98
7.2.210.0120.00614.95
7.2.200.0100.00714.85
7.2.190.0030.00915.07
7.2.180.0040.01115.16
7.2.170.0110.00315.09
7.2.130.0150.00016.32
7.2.120.0090.00616.23
7.2.110.0080.00816.79
7.2.100.0150.00016.31
7.2.90.0140.00716.25
7.2.80.0180.00416.62
7.2.70.0160.00816.48
7.2.60.0110.01016.65
7.2.50.0100.01016.29
7.2.40.0110.00816.55
7.2.30.0100.00716.86
7.2.20.0130.00716.70
7.2.10.0130.00716.47
7.2.00.0090.00617.96
7.1.330.0060.00715.76
7.1.320.0070.01115.91
7.1.310.0100.00315.85
7.1.300.0040.00715.98
7.1.290.0040.00816.06
7.1.280.0040.01115.62
7.1.270.0070.00715.82
7.1.260.0060.01016.01
7.1.250.0110.01115.82
7.1.100.0330.00018.35
7.1.70.0000.01117.30
7.1.60.0150.00919.40
7.1.50.0150.00734.93
7.1.00.0100.07022.47
7.0.200.0040.00416.68
7.0.140.0100.07021.95
7.0.60.0130.08319.91
7.0.50.0030.08317.89
7.0.40.0070.07020.28
7.0.30.0470.07020.19
7.0.20.0330.08020.13
7.0.10.0070.09020.32
7.0.00.0070.04020.22
5.6.280.0070.07021.10
5.6.210.0070.07020.75
5.6.200.0000.04318.08
5.6.190.0030.08320.33
5.6.180.0300.05020.43
5.6.170.0300.04320.50
5.6.160.0030.04320.45
5.6.150.0030.07018.11
5.6.140.0030.04318.12
5.6.130.0100.07718.21
5.6.120.0100.04320.96
5.6.110.0170.05020.96
5.6.100.0130.04320.86
5.6.90.0130.07321.07
5.6.80.0100.08020.52
5.5.350.0170.04020.40
5.5.340.0070.03717.95
5.5.330.0070.08720.13
5.5.320.2970.04020.20
5.5.310.0200.06720.18
5.5.300.0030.03717.88
5.5.290.0100.08717.88
5.5.280.0030.05320.87
5.5.270.0100.06320.82
5.5.260.0000.04720.88
5.5.250.0070.04020.77
5.5.240.0000.07320.18
5.4.450.0370.06019.63
5.4.440.0670.05019.10
5.4.430.0200.05019.32
5.4.420.0070.06019.63
5.4.410.0130.07718.94
5.4.400.0030.05718.80
5.4.390.0130.05318.45
5.4.380.0100.05318.56
5.4.370.0000.04318.53
5.4.360.0030.04018.57
5.4.350.0110.05011.97
5.4.340.0050.03511.96
5.4.320.0080.03312.45
5.4.310.0060.03812.45
5.4.300.0090.03312.45
5.4.290.0080.03612.45
5.4.280.0080.03612.35
5.4.270.0040.03712.35
5.4.260.0030.04012.35
5.4.250.0040.04212.35
5.4.240.0040.03612.34
5.4.230.0050.03812.34
5.4.220.0090.03112.34
5.4.210.0080.03512.34
5.4.200.0050.04412.34
5.4.190.0100.03212.33
5.4.180.0080.03512.34
5.4.170.0040.04012.35
5.4.160.0030.03912.34
5.4.150.0100.03112.34
5.4.140.0060.03512.02
5.4.130.0040.04712.01
5.4.120.0050.03811.97
5.4.110.0050.03811.96
5.4.100.0070.03811.96
5.4.90.0070.03611.96
5.4.80.0050.04011.96
5.4.70.0060.03711.96
5.4.60.0040.04111.96
5.4.50.0080.03711.96
5.4.40.0060.03511.95
5.4.30.0070.03711.95
5.4.20.0090.04011.95
5.4.10.0060.03411.95
5.4.00.0060.04511.44
5.3.290.0060.04112.80
5.3.280.0090.03512.71
5.3.270.0050.03912.72
5.3.260.0120.04712.72
5.3.250.0060.04412.72
5.3.240.0060.04312.72
5.3.230.0080.03512.71
5.3.220.0060.03612.68
5.3.210.0070.03912.68
5.3.200.0050.03712.68
5.3.190.0050.03812.68
5.3.180.0060.03912.67
5.3.170.0070.03812.67
5.3.160.0040.03912.67
5.3.150.0040.03812.68
5.3.140.0050.03712.66
5.3.130.0100.04812.65
5.3.120.0040.04112.66
5.3.110.0080.04912.66
5.3.100.0050.03712.12
5.3.90.0050.03712.08
5.3.80.0030.03812.07
5.3.70.0050.03612.08
5.3.60.0060.03712.06
5.3.50.0100.03112.00
5.3.40.0070.03812.00
5.3.30.0060.03611.96
5.3.20.0050.03411.73
5.3.10.0070.03211.70
5.3.00.0060.03411.68
5.2.170.0050.0299.19
5.2.160.0070.0339.19
5.2.150.0060.0279.19
5.2.140.0060.0289.18
5.2.130.0050.0309.15
5.2.120.0040.0299.14
5.2.110.0090.0269.16
5.2.100.0040.0289.15
5.2.90.0070.0279.15
5.2.80.0070.0279.14
5.2.70.0040.0359.14
5.2.60.0060.0279.09
5.2.50.0030.0349.06
5.2.40.0040.0359.05
5.2.30.0060.0329.02
5.2.20.0030.0319.01
5.2.10.0050.0278.93
5.2.00.0100.0318.79
5.1.60.0070.0238.07
5.1.50.0050.0248.07
5.1.40.0040.0318.05
5.1.30.0060.0318.40
5.1.20.0030.0338.43
5.1.10.0090.0218.14
5.1.00.0040.0288.14
5.0.50.0040.0216.63
5.0.40.0030.0206.48
5.0.30.0000.0356.30
5.0.20.0010.0226.27
5.0.10.0020.0216.25
5.0.00.0050.0286.23
4.4.90.0020.0164.78
4.4.80.0040.0144.75
4.4.70.0000.0184.76
4.4.60.0010.0174.76
4.4.50.0060.0134.77
4.4.40.0020.0254.71
4.4.30.0020.0164.76
4.4.20.0030.0144.85
4.4.10.0070.0164.85
4.4.00.0020.0324.76
4.3.110.0070.0174.67
4.3.100.0040.0204.67
4.3.90.0010.0164.63
4.3.80.0020.0244.59
4.3.70.0030.0144.63
4.3.60.0020.0144.63
4.3.50.0000.0184.63
4.3.40.0020.0244.54
4.3.30.0020.0153.29
4.3.20.0020.0163.27
4.3.10.0020.0163.23
4.3.00.0030.0207.00

preferences:
46.12 ms | 401 KiB | 5 Q