3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('%<((?i)password(?-i))>\s*+(?P<password>.*?)\s*</\1>%x', '<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.0100.00716.50
8.3.50.0110.01222.92
8.3.40.0130.00318.84
8.3.30.0100.00318.95
8.3.20.0000.00820.35
8.3.10.0050.00323.51
8.3.00.0040.00419.38
8.2.180.0060.00916.50
8.2.170.0150.00622.96
8.2.160.0140.00320.37
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00826.16
8.2.120.0070.00021.28
8.2.110.0030.00622.23
8.2.100.0040.00719.51
8.2.90.0000.00719.05
8.2.80.0000.00917.97
8.2.70.0030.00617.63
8.2.60.0040.00417.80
8.2.50.0110.00018.07
8.2.40.0030.00620.07
8.2.30.0000.00817.96
8.2.20.0040.00417.71
8.2.10.0070.00017.94
8.2.00.0030.00617.62
8.1.280.0110.00725.92
8.1.270.0030.00623.63
8.1.260.0000.00826.35
8.1.250.0060.00328.09
8.1.240.0030.00723.66
8.1.230.0070.00319.10
8.1.220.0030.00617.74
8.1.210.0030.00618.77
8.1.200.0000.00917.23
8.1.190.0080.00017.13
8.1.180.0000.00818.10
8.1.170.0030.00518.64
8.1.160.0000.00821.96
8.1.150.0040.00418.71
8.1.140.0030.00617.48
8.1.130.0040.00417.83
8.1.120.0000.00817.43
8.1.110.0050.00217.50
8.1.100.0070.00017.47
8.1.90.0040.00417.53
8.1.80.0040.00417.52
8.1.70.0040.00417.46
8.1.60.0040.00417.60
8.1.50.0030.00617.54
8.1.40.0000.00917.57
8.1.30.0040.00417.57
8.1.20.0040.00417.69
8.1.10.0060.00317.58
8.1.00.0040.00417.52
8.0.300.0000.00818.77
8.0.290.0060.00316.75
8.0.280.0000.00718.26
8.0.270.0000.00717.21
8.0.260.0030.00317.16
8.0.250.0000.00716.88
8.0.240.0030.00316.87
8.0.230.0070.00016.83
8.0.220.0000.00816.80
8.0.210.0040.00416.81
8.0.200.0030.00317.00
8.0.190.0040.00716.98
8.0.180.0040.00416.87
8.0.170.0040.00416.96
8.0.160.0030.00716.93
8.0.150.0040.00416.80
8.0.140.0040.00416.77
8.0.130.0060.00013.40
8.0.120.0000.01016.79
8.0.110.0050.00216.87
8.0.100.0000.00716.71
8.0.90.0070.00016.81
8.0.80.0090.00616.88
8.0.70.0040.00416.87
8.0.60.0040.00416.71
8.0.50.0050.00316.96
8.0.30.0090.01117.02
8.0.20.0120.00717.40
8.0.10.0000.00716.88
8.0.00.0120.00616.81
7.4.330.0060.00015.00
7.4.320.0030.00316.49
7.4.300.0030.00316.55
7.4.290.0000.00716.67
7.4.280.0000.00816.50
7.4.270.0040.00416.60
7.4.260.0080.00016.71
7.4.250.0040.00416.46
7.4.240.0000.00716.57
7.4.230.0000.00716.55
7.4.220.0030.01416.72
7.4.210.0110.00316.77
7.4.200.0040.00416.49
7.4.160.0110.00516.57
7.4.150.0120.00917.40
7.4.140.0120.00617.86
7.4.130.0110.00716.61
7.4.120.0120.00516.50
7.4.110.0030.01416.57
7.4.100.0170.00616.71
7.4.90.0120.00616.62
7.4.80.0090.01219.39
7.4.70.0120.00616.55
7.4.60.0030.01316.43
7.4.50.0000.00816.55
7.4.40.0110.00716.58
7.4.30.0110.00416.61
7.4.00.0110.00715.04
7.3.330.0030.00313.21
7.3.320.0030.00313.27
7.3.310.0030.00616.20
7.3.300.0030.00316.29
7.3.290.0060.00916.28
7.3.280.0070.01016.33
7.3.270.0040.01317.40
7.3.260.0140.00416.23
7.3.250.0130.00316.30
7.3.240.0030.01316.57
7.3.230.0100.00716.39
7.3.210.0240.00016.62
7.3.200.0160.00016.43
7.3.190.0130.00316.59
7.3.180.0100.00616.24
7.3.170.0080.01116.52
7.3.160.0030.01216.30
7.3.120.0040.01415.10
7.3.110.0060.01314.95
7.3.100.0060.00914.81
7.3.90.0060.00914.59
7.3.80.0030.00614.71
7.3.70.0120.00414.93
7.3.60.0030.01014.79
7.3.50.0090.00614.68
7.3.40.0060.00914.65
7.3.30.0000.01414.96
7.3.20.0070.01116.80
7.3.10.0040.01116.64
7.3.00.0040.00716.72
7.2.330.0100.01016.58
7.2.320.0100.00716.74
7.2.310.0070.01016.48
7.2.300.0070.01016.62
7.2.290.0060.00916.37
7.2.250.0060.01214.88
7.2.240.0100.01015.08
7.2.230.0060.00914.92
7.2.220.0000.01415.04
7.2.210.0120.00015.00
7.2.200.0000.01015.08
7.2.190.0000.01315.09
7.2.180.0040.01415.18
7.2.170.0060.01014.90
7.2.160.0030.01014.85
7.2.150.0030.01316.78
7.2.140.0040.01416.86
7.2.130.0040.00817.08
7.2.120.0110.00416.69
7.2.110.0100.00716.94
7.2.100.0040.01016.68
7.2.90.0040.01116.93
7.2.80.0100.00316.93
7.2.70.0030.01016.90
7.2.60.0070.01016.84
7.2.50.0110.00016.91
7.2.40.0090.00316.79
7.2.30.0040.01217.11
7.2.20.0120.00616.73
7.2.10.0090.00616.91
7.2.00.0030.01216.68
7.1.330.0060.01015.87
7.1.320.0000.01216.00
7.1.310.0110.00315.82
7.1.300.0030.00915.59
7.1.290.0000.01415.75
7.1.280.0060.00615.65
7.1.270.0000.01115.92
7.1.260.0130.00315.79
7.1.250.0070.01116.12
7.1.100.0280.00418.29
7.1.70.0080.00016.98
7.1.60.0070.01819.40
7.1.50.0200.01634.93
7.1.00.0070.07322.37
7.0.200.0070.00016.68
7.0.140.0130.06722.16
7.0.60.0100.08019.89
7.0.50.0100.07317.92
7.0.40.0130.07720.26
7.0.30.0330.07720.18
7.0.20.0270.08020.18
7.0.10.0030.04320.14
7.0.00.0170.08020.18
5.6.280.0100.06721.12
5.6.210.0070.03720.61
5.6.200.0070.05718.22
5.6.190.0000.05320.56
5.6.180.0200.08320.41
5.6.170.0230.07020.49
5.6.160.0170.03020.54
5.6.150.0100.06018.11
5.6.140.0070.08018.18
5.6.130.0100.03718.11
5.6.120.0100.07320.95
5.6.110.0130.05720.95
5.6.100.0070.06721.10
5.6.90.0070.05021.05
5.6.80.0130.05020.40
5.5.350.0330.06720.36
5.5.340.0000.08317.95
5.5.330.0100.05320.28
5.5.320.0230.07320.21
5.5.310.0200.04020.29
5.5.300.0070.07018.00
5.5.290.0000.04717.98
5.5.280.0130.08020.89
5.5.270.0070.05720.86
5.5.260.0100.07320.71
5.5.250.0030.09320.68
5.5.240.0030.07020.25
5.4.450.0170.04719.11
5.4.440.0630.06019.58
5.4.430.0600.06319.58
5.4.420.0270.05319.51
5.4.410.0770.05319.36
5.4.400.0430.06318.80
5.4.390.0300.05318.66
5.4.380.0000.06018.62
5.4.370.0070.05718.53
5.4.360.0030.04018.65
5.4.350.0100.04311.97
5.4.340.0060.03711.97
5.4.320.0080.03412.45
5.4.310.0060.04712.45
5.4.300.0070.03512.45
5.4.290.0110.03912.45
5.4.280.0070.03412.35
5.4.270.0040.03812.35
5.4.260.0070.04312.34
5.4.250.0060.05312.34
5.4.240.0040.03712.35
5.4.230.0030.03912.34
5.4.220.0070.04512.34
5.4.210.0070.04212.34
5.4.200.0040.03912.34
5.4.190.0080.03712.33
5.4.180.0060.05212.33
5.4.170.0090.04212.35
5.4.160.0080.04012.34
5.4.150.0070.04512.34
5.4.140.0070.04412.02
5.4.130.0080.04312.01
5.4.120.0070.04311.96
5.4.110.0080.03911.96
5.4.100.0070.03411.96
5.4.90.0070.03711.96
5.4.80.0070.03511.96
5.4.70.0100.03411.96
5.4.60.0060.03811.96
5.4.50.0040.03711.96
5.4.40.0070.03411.95
5.4.30.0050.03511.95
5.4.20.0040.03611.95
5.4.10.0060.03311.95
5.4.00.0050.03611.43
5.3.290.0040.04112.80
5.3.280.0050.03712.71
5.3.270.0040.04012.72
5.3.260.0030.04212.72
5.3.250.0050.03712.72
5.3.240.0080.03512.72
5.3.230.0060.03812.71
5.3.220.0050.03912.68
5.3.210.0070.03812.68
5.3.200.0060.03612.68
5.3.190.0070.03612.68
5.3.180.0090.03312.67
5.3.170.0050.03812.67
5.3.160.0080.03412.68
5.3.150.0080.03512.67
5.3.140.0060.03712.66
5.3.130.0090.03612.66
5.3.120.0040.04012.66
5.3.110.0070.03712.66
5.3.100.0080.03412.12
5.3.90.0030.03912.09
5.3.80.0060.03612.07
5.3.70.0020.04012.07
5.3.60.0030.03812.06
5.3.50.0090.03412.00
5.3.40.0080.03612.00
5.3.30.0070.03411.95
5.3.20.0070.03511.73
5.3.10.0040.03711.70
5.3.00.0060.03511.69
5.2.170.0040.0399.19
5.2.160.0040.0299.19
5.2.150.0050.0309.19
5.2.140.0050.0309.18
5.2.130.0040.0299.14
5.2.120.0050.0279.14
5.2.110.0090.0299.15
5.2.100.0070.0389.15
5.2.90.0050.0279.15
5.2.80.0050.0389.14
5.2.70.0040.0309.14
5.2.60.0060.0379.09
5.2.50.0040.0319.06
5.2.40.0050.0369.05
5.2.30.0030.0319.02
5.2.20.0070.0349.01
5.2.10.0070.0378.93
5.2.00.0050.0288.79
5.1.60.0030.0258.07
5.1.50.0060.0248.07
5.1.40.0050.0238.05
5.1.30.0050.0248.40
5.1.20.0070.0338.42
5.1.10.0030.0328.14
5.1.00.0040.0268.14
5.0.50.0060.0176.63
5.0.40.0040.0286.48
5.0.30.0020.0336.30
5.0.20.0040.0196.27
5.0.10.0060.0196.24
5.0.00.0040.0296.24
4.4.90.0030.0154.78
4.4.80.0030.0144.76
4.4.70.0040.0274.75
4.4.60.0020.0234.75
4.4.50.0040.0184.77
4.4.40.0040.0234.71
4.4.30.0030.0164.75
4.4.20.0030.0154.84
4.4.10.0020.0164.85
4.4.00.0050.0234.76
4.3.110.0040.0204.67
4.3.100.0050.0154.67
4.3.90.0050.0124.63
4.3.80.0030.0234.59
4.3.70.0030.0134.63
4.3.60.0030.0144.63
4.3.50.0010.0174.63
4.3.40.0020.0244.54
4.3.30.0020.0153.29
4.3.20.0040.0183.27
4.3.10.0020.0153.23
4.3.00.0170.0277.13

preferences:
39.31 ms | 401 KiB | 5 Q