3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match( '/<tr class="hdrrow">/', '<tr class="hdrrow">fdfdfds</tr>', $matches); echo $matches[1]; // 1234

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.70.0150.00616.63
8.3.60.0040.01918.43
8.3.50.0140.00422.13
8.3.40.0040.01118.97
8.3.30.0070.00719.08
8.3.20.0080.00020.22
8.3.10.0050.00221.76
8.3.00.0040.00419.38
8.2.180.0100.00718.46
8.2.170.0040.01119.19
8.2.160.0120.00322.96
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0060.01326.16
8.2.120.0090.00019.45
8.2.110.0090.00022.29
8.2.100.0000.01117.75
8.2.90.0050.00319.23
8.2.80.0060.00317.97
8.2.70.0040.00417.63
8.2.60.0050.00317.80
8.2.50.0000.00918.07
8.2.40.0000.00919.72
8.2.30.0000.00818.01
8.2.20.0040.00417.98
8.2.10.0000.00817.96
8.2.00.0000.00717.73
8.1.280.0120.00625.92
8.1.270.0080.00018.74
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0030.00622.09
8.1.230.0100.00717.66
8.1.220.0040.00417.76
8.1.210.0030.00618.77
8.1.200.0060.00317.25
8.1.190.0020.00517.23
8.1.180.0000.00718.10
8.1.170.0090.00020.63
8.1.160.0000.00721.89
8.1.150.0040.00418.66
8.1.140.0000.00817.45
8.1.130.0030.00317.74
8.1.120.0000.00717.52
8.1.110.0040.00417.46
8.1.100.0000.00717.48
8.1.90.0040.00417.46
8.1.80.0060.00317.47
8.1.70.0000.00717.54
8.1.60.0040.00417.63
8.1.50.0040.00417.55
8.1.40.0000.00817.55
8.1.30.0040.00417.62
8.1.20.0060.00317.59
8.1.10.0000.00717.55
8.1.00.0030.00517.64
8.0.300.0040.00418.77
8.0.290.0020.00516.75
8.0.280.0070.00018.28
8.0.270.0050.00217.13
8.0.260.0060.00017.33
8.0.250.0000.00717.05
8.0.240.0000.00717.03
8.0.230.0000.00717.04
8.0.220.0070.00016.92
8.0.210.0020.00517.00
8.0.200.0040.00416.96
8.0.190.0000.00717.01
8.0.180.0050.00317.00
8.0.170.0040.00417.01
8.0.160.0050.00216.95
8.0.150.0000.00816.89
8.0.140.0030.00316.84
8.0.130.0000.00713.39
8.0.120.0000.00716.92
8.0.110.0040.00416.99
8.0.100.0040.00416.88
8.0.90.0000.00716.82
8.0.80.0060.01216.96
8.0.70.0000.00816.94
8.0.60.0030.00317.09
8.0.50.0070.00017.02
8.0.30.0070.01517.09
8.0.20.0120.01117.40
8.0.10.0050.00216.91
8.0.00.0090.00916.93
7.4.330.0070.00015.03
7.4.320.0030.00316.60
7.4.300.0060.00016.55
7.4.290.0000.00816.52
7.4.280.0050.00216.48
7.4.270.0070.00016.55
7.4.260.0000.00716.69
7.4.250.0000.00716.57
7.4.240.0040.00416.56
7.4.230.0070.00016.77
7.4.220.0100.00816.64
7.4.210.0100.00416.70
7.4.200.0040.00416.69
7.4.160.0090.00616.57
7.4.150.0130.00317.40
7.4.140.0080.01417.86
7.4.130.0080.01216.56
7.4.120.0070.00916.64
7.4.110.0100.00716.77
7.4.100.0110.01116.62
7.4.90.0120.00916.54
7.4.80.0170.00319.39
7.4.70.0030.01716.50
7.4.60.0060.01016.79
7.4.50.0000.00416.74
7.4.40.0070.01116.75
7.4.30.0060.01216.62
7.4.00.0050.01014.86
7.3.330.0000.00613.24
7.3.320.0040.00913.18
7.3.310.0050.00316.50
7.3.300.0070.00016.46
7.3.290.0060.00816.45
7.3.280.0040.01116.41
7.3.270.0160.01017.40
7.3.260.0190.00316.58
7.3.250.0110.01016.66
7.3.240.0070.01016.47
7.3.230.0090.01216.79
7.3.210.0060.00916.52
7.3.200.0130.00619.39
7.3.190.0170.00316.82
7.3.180.0120.00316.46
7.3.170.0060.00916.53
7.3.160.0110.01216.70
7.3.120.0070.01114.93
7.3.110.0030.01214.99
7.3.100.0060.01014.80
7.3.90.0090.00715.05
7.3.80.0030.01415.00
7.3.70.0050.01015.00
7.3.60.0090.00914.92
7.3.50.0080.00815.01
7.3.40.0030.01114.93
7.3.30.0040.00914.91
7.3.20.0040.01016.63
7.3.10.0060.00816.90
7.3.00.0070.00416.72
7.2.330.0120.00616.64
7.2.320.0090.00616.66
7.2.310.0090.00916.63
7.2.300.0120.00916.58
7.2.290.0130.00316.76
7.2.250.0050.01215.26
7.2.240.0100.00915.21
7.2.230.0140.00515.17
7.2.220.0060.01215.09
7.2.210.0070.01215.07
7.2.200.0080.00815.03
7.2.190.0030.01215.19
7.2.180.0070.00715.13
7.2.170.0090.00815.16
7.2.130.0100.00316.74
7.2.120.0040.01117.13
7.2.110.0000.01716.80
7.2.100.0050.00517.03
7.2.90.0000.01117.01
7.2.80.0000.01516.67
7.2.70.0030.00816.93
7.2.60.0030.00916.95
7.2.50.0030.01016.80
7.2.40.0030.00616.88
7.2.30.0090.00617.21
7.2.20.0070.00317.05
7.2.10.0030.01017.04
7.2.00.0080.00618.33
7.1.330.0050.01216.10
7.1.320.0020.00815.91
7.1.310.0050.01115.74
7.1.300.0020.01315.74
7.1.290.0060.00815.93
7.1.280.0040.00715.81
7.1.270.0000.01215.74
7.1.260.0080.00315.79
7.1.250.0060.00315.98
7.1.100.0000.01118.26
7.1.70.0000.01317.42
7.1.60.0100.01419.50
7.1.50.0120.01217.07
7.1.00.0030.07722.29
7.0.200.4130.00715.09
7.0.140.0070.06022.18
7.0.60.0100.07719.93
7.0.50.0070.04717.86
7.0.40.0130.07720.30
7.0.30.0030.05320.05
7.0.20.0400.07720.01
7.0.10.0030.08720.17
7.0.00.0130.07720.14
5.6.280.0000.07720.81
5.6.210.0070.05720.54
5.6.200.0100.05018.16
5.6.190.0100.05320.64
5.6.180.0300.08320.61
5.6.170.0270.07720.55
5.6.160.0130.05720.45
5.6.150.0200.07018.11
5.6.140.0070.07718.21
5.6.130.0070.08018.21
5.6.120.0030.08720.98
5.6.110.0070.08020.95
5.6.100.0130.06020.98
5.6.90.0030.04020.99
5.6.80.0030.04020.40
5.6.70.4670.02720.39
5.5.350.0000.08320.38
5.5.340.0070.08017.89
5.5.330.0070.07320.36
5.5.320.0330.05720.27
5.5.310.0200.08720.21
5.5.300.0030.04317.98
5.5.290.0030.07018.02
5.5.280.0030.08720.86
5.5.270.0100.06320.88
5.5.260.0100.07720.86
5.5.250.0100.06720.61
5.5.240.0300.06320.23
5.4.450.0170.05719.65
5.4.440.0100.06719.61
5.4.430.0870.07019.09
5.4.420.0800.06019.27
5.4.410.0100.06318.75
5.4.400.0230.09018.53
5.4.390.0570.06018.66
5.4.380.0470.08318.65
5.4.370.0330.06718.72
5.4.360.0330.06718.57
5.4.350.0270.10018.73
5.4.340.0400.07718.68
5.4.320.0370.07018.67
5.4.310.0200.06018.44
5.4.300.0470.05018.67
5.4.290.0370.06718.72
5.4.280.0230.09318.61
5.4.270.0430.07318.71
5.4.260.0430.06018.64
5.4.250.0370.06718.67
5.4.240.0300.06318.71
5.4.230.0430.07018.76
5.4.220.0430.05018.55
5.4.210.0300.07718.63
5.4.200.0430.04716.43
5.4.190.0430.04718.44
5.4.180.0530.04718.47
5.4.170.0300.06718.46
5.4.160.0300.06318.71
5.4.150.0530.03718.63
5.4.140.0370.05316.36
5.4.130.0400.06716.08
5.4.120.0430.05716.06
5.4.110.0400.07016.04
5.4.100.0430.06716.12
5.4.90.0400.05716.21
5.4.80.0330.06316.13
5.4.70.0400.06716.17
5.4.60.0400.06016.05
5.4.50.0300.07316.03
5.4.40.0300.06316.12
5.4.30.0500.05316.04
5.4.20.0400.07016.31
5.4.10.0400.04316.13
5.4.00.0400.04015.55
5.3.290.0370.05714.63
5.3.280.0300.05714.54
5.3.270.0400.05314.67
5.3.260.0500.05014.57
5.3.250.0370.05314.55
5.3.240.0430.06014.66
5.3.230.0430.05314.52
5.3.220.0230.06014.54
5.3.210.0430.05014.56
5.3.200.0430.05014.54
5.3.190.0370.05714.48
5.3.180.0370.07014.61
5.3.170.0370.05014.54
5.3.160.0270.06714.53
5.3.150.0470.04714.54
5.3.140.0370.05014.64
5.3.130.0300.07714.52
5.3.120.0400.07714.52
5.3.110.0370.08314.53
5.3.100.0270.07013.95
5.3.90.0300.07314.08
5.3.80.0370.06713.96
5.3.70.0500.05013.93
5.3.60.0230.06013.99
5.3.50.0400.06713.92
5.3.40.0500.07013.93
5.3.30.0630.06314.00
5.3.20.0470.04713.67
5.3.10.0400.05313.58
5.3.00.0400.05313.64
5.2.170.0200.05311.18
5.2.160.0230.04711.07
5.2.150.0470.04311.20
5.2.140.0430.04311.19
5.2.130.0200.04311.09
5.2.120.0230.04711.16
5.2.110.0330.04711.04
5.2.100.0330.03711.09
5.2.90.0300.04011.04
5.2.80.0400.03711.06
5.2.70.0230.06711.16
5.2.60.0270.04011.11
5.2.50.0270.04311.15
5.2.40.0230.03310.96
5.2.30.0170.05310.95
5.2.20.0370.04010.95
5.2.10.0200.04310.90
5.2.00.0230.04010.85
5.1.60.0230.0279.97
5.1.50.0370.03310.02
5.1.40.0300.04010.07
5.1.30.0130.04010.40
5.1.20.0130.04710.34
5.1.10.0170.04010.10
5.1.00.0230.04010.12
5.0.50.0070.0338.57
5.0.40.0200.0278.42
5.0.30.0130.0438.36
5.0.20.0070.0308.26
5.0.10.0130.0278.25
5.0.00.0100.0438.35
4.4.90.0070.0275.87
4.4.80.0100.0205.89
4.4.70.0170.0175.86
4.4.60.0200.0275.89
4.4.50.0000.0305.91
4.4.40.0200.0375.88
4.4.30.0130.0205.88
4.4.20.0070.0235.92
4.4.10.0070.0275.88
4.4.00.0130.0435.84
4.3.110.0070.0305.83
4.3.100.0230.0175.86
4.3.90.0070.0235.84
4.3.80.0130.0335.84
4.3.70.0170.0135.86
4.3.60.0130.0205.79
4.3.50.0100.0275.91
4.3.40.0200.0335.75
4.3.30.0100.0274.67
4.3.20.0100.0204.61
4.3.10.0030.0234.53
4.3.00.0070.0207.05

preferences:
39.44 ms | 401 KiB | 5 Q