3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = '(?:;?[a-z\d+#.-]+)+'; // Borrowed from @Hamza. $tags =<<<TAGS gggd hfhfghg;hfhdfh fgjfgjgf;hfhdfh;hfhdfh fgjgfj;hfhdfh;hfhdfh;hfhdfh hfhdfh;hfhdfh;hfhdfh;hfhdfh;hfhdfh hfhdfh;hfhdfh;hfhdfh;hfhdfh;hfhdfh;hfhdfh hfhdfh;hfhdfh;hfhdfh;hfhdfh;hfhdfh;hfhdfh;hfhdfh hfhdfh;hfhdfh;hfhdfh;hfhdfh;hfhdfh;hfhdfh;hfhdfh;hfhdfh TAGS; if (preg_match('/'.$pattern.'/', $tags)) { var_dump(substr_count($tags, ';')); }

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.01418.43
8.3.50.0120.00821.20
8.3.40.0100.01018.92
8.3.30.0130.00020.35
8.3.20.0000.00720.33
8.3.10.0050.00321.72
8.3.00.0040.00422.32
8.2.180.0140.01016.88
8.2.170.0070.01122.96
8.2.160.0040.01120.46
8.2.150.0030.00524.18
8.2.140.0090.00624.66
8.2.130.0070.01126.16
8.2.120.0040.00419.79
8.2.110.0060.00321.17
8.2.100.0040.00818.03
8.2.90.0040.00417.88
8.2.80.0000.00918.89
8.2.70.0040.00417.93
8.2.60.0040.00417.79
8.2.50.0040.00418.10
8.2.40.0040.00420.59
8.2.30.0100.00018.16
8.2.20.0040.00417.77
8.2.10.0040.00417.95
8.2.00.0080.00017.77
8.1.280.0140.00425.92
8.1.270.0030.00524.66
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0030.00619.06
8.1.230.0100.00018.81
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0060.00317.13
8.1.190.0040.00418.97
8.1.180.0040.00418.10
8.1.170.0050.00318.67
8.1.160.0050.00322.08
8.1.150.0060.00318.84
8.1.140.0000.00817.55
8.1.130.0070.00017.92
8.1.120.0050.00317.67
8.1.110.0040.00417.63
8.1.100.0030.00617.63
8.1.90.0040.00417.60
8.1.80.0070.00017.66
8.1.70.0030.00317.55
8.1.60.0060.00317.79
8.1.50.0030.00617.67
8.1.40.0040.00417.66
8.1.30.0070.00017.74
8.1.20.0030.00517.86
8.1.10.0040.00417.68
8.1.00.0000.00817.66
8.0.300.0040.00418.84
8.0.290.0040.00417.00
8.0.280.0060.00318.39
8.0.270.0060.00317.28
8.0.260.0030.00317.02
8.0.250.0000.00717.21
8.0.240.0060.00317.07
8.0.230.0030.00317.21
8.0.220.0070.00017.19
8.0.210.0040.00417.12
8.0.200.0060.00017.07
8.0.190.0030.00717.16
8.0.180.0000.00717.11
8.0.170.0000.00817.14
8.0.160.0000.00717.08
8.0.150.0070.00016.95
8.0.140.0050.00317.02
8.0.130.0060.00013.51
8.0.120.0040.00416.98
8.0.110.0080.00017.10
8.0.100.0040.00417.17
8.0.90.0000.00717.12
8.0.80.0080.00817.05
8.0.70.0000.00717.17
8.0.60.0000.00816.91
8.0.50.0040.00417.00
8.0.30.0090.00917.31
8.0.20.0120.00717.40
8.0.10.0000.00717.18
8.0.00.0110.00717.02
7.4.330.0070.00015.00
7.4.320.0000.00616.63
7.4.300.0000.00716.66
7.4.290.0030.00316.80
7.4.280.0030.00316.75
7.4.270.0000.00716.66
7.4.260.0050.00516.57
7.4.250.0000.00716.72
7.4.240.0000.00716.65
7.4.230.0050.00216.54
7.4.220.0040.01516.70
7.4.210.0080.00816.68
7.4.200.0000.00716.56
7.4.190.0040.00416.93
7.4.160.0100.00716.65
7.4.150.0120.00617.40
7.4.140.0150.00517.86
7.4.130.0070.01016.77
7.4.120.0130.00716.71
7.4.110.0030.01616.61
7.4.100.0070.01016.67
7.4.90.0140.00316.63
7.4.80.0120.00919.39
7.4.70.0120.00616.75
7.4.60.0030.01316.75
7.4.50.0000.00416.58
7.4.40.0120.00622.77
7.4.30.0030.01416.52
7.4.00.0070.01015.24
7.3.330.0060.00013.35
7.3.320.0000.00513.20
7.3.310.0060.00316.48
7.3.300.0000.00716.47
7.3.290.0070.00716.54
7.3.280.0080.00716.48
7.3.270.0090.00917.40
7.3.260.0100.00716.58
7.3.250.0120.00516.50
7.3.240.0110.00616.75
7.3.230.0160.00016.61
7.3.210.0140.00316.62
7.3.200.0120.00919.39
7.3.190.0120.00916.66
7.3.180.0070.01016.55
7.3.170.0030.01916.71
7.3.160.0080.00816.50
7.3.120.0030.00915.24
7.3.10.0030.01016.80
7.3.00.0060.00616.88
7.2.330.0060.01216.64
7.2.320.0100.00716.55
7.2.310.0120.00416.83
7.2.300.0080.00816.47
7.2.290.0130.00316.77
7.2.130.0050.00517.03
7.2.120.0000.00916.89
7.2.110.0140.00016.84
7.2.100.0060.00917.06
7.2.90.0060.00616.82
7.2.80.0100.00617.20
7.2.70.0090.00616.96
7.2.60.0090.00316.93
7.2.50.0030.01316.80
7.2.40.0090.00317.17
7.2.30.0120.00316.68
7.2.20.0070.00716.91
7.2.10.0060.00316.88
7.2.00.0030.00916.87
7.1.250.0080.00015.88
7.1.70.0000.00717.25
7.1.60.0000.01117.13
7.1.50.0040.00816.84
7.1.00.0000.06322.59
7.0.200.0070.00716.95
7.0.140.0030.07721.93
7.0.60.0030.05320.03
7.0.50.0100.03717.86
7.0.40.0000.04720.05
7.0.30.0230.05020.11
7.0.20.0230.04720.27
7.0.10.0130.08320.30
7.0.00.0070.06020.10
5.6.280.0030.07020.81
5.6.210.0070.04320.60
5.6.200.0030.04318.21
5.6.190.0000.05720.32
5.6.180.0230.08020.56
5.6.170.0300.08020.52
5.6.160.0070.03720.54
5.6.150.0130.07718.18
5.6.140.0100.05318.17
5.6.130.0070.05318.12
5.6.120.0100.07321.11
5.6.110.0200.04720.88
5.6.100.0170.07320.98
5.6.90.0130.07321.09
5.6.80.0100.08320.46
5.5.350.0400.07020.36
5.5.340.0030.05017.98
5.5.330.0030.09020.14
5.5.320.0300.08020.31
5.5.310.0330.05020.29
5.5.300.0070.05717.98
5.5.290.0000.05717.88
5.5.280.0030.08720.96
5.5.270.0200.03320.72
5.5.260.0100.06720.79
5.5.250.0170.05720.61
5.5.240.0130.07720.06
5.4.450.0130.05719.60
5.4.440.0630.06019.58
5.4.430.0730.06319.60
5.4.420.0900.07019.24
5.4.410.0170.05019.19
5.4.400.0670.06319.15
5.4.390.0400.05718.78
5.4.380.0200.05318.64
5.4.370.0100.03318.44
5.4.360.0100.04318.45
5.4.350.0060.04811.97
5.4.340.0080.03711.97
5.4.320.0080.04712.45
5.4.310.0070.05312.45
5.4.300.0080.04412.46
5.4.290.0100.04112.45
5.4.280.0030.04212.35
5.4.270.0070.05312.35
5.4.260.0090.04512.35
5.4.250.0070.05318.99
5.4.240.0100.05318.99
5.4.230.0130.05018.70
5.4.220.0130.06719.01
5.4.210.0130.05019.02
5.4.200.0130.05019.01
5.4.190.0230.06019.01
5.4.180.0030.08018.91
5.4.170.0130.06018.71
5.4.160.0170.06718.71
5.4.150.0000.06318.86
5.4.140.0100.04716.54
5.4.130.0130.04316.21
5.4.120.0100.04716.45
5.4.110.0000.05716.44
5.4.100.0000.05316.40
5.4.90.0070.04716.34
5.4.80.0100.04716.21
5.4.70.0100.04316.33
5.4.60.0030.05316.50
5.4.50.0070.05016.29
5.4.40.0070.06316.42
5.4.30.0070.04716.31
5.4.20.0100.04716.47
5.4.10.0130.05716.16
5.4.00.0100.04715.68
5.3.290.0050.03912.80
5.3.280.0030.05314.64
5.3.270.0070.05314.48
5.3.260.0030.06314.60
5.3.250.0000.05714.38
5.3.240.0130.05014.46
5.3.230.0070.05014.75
5.3.220.0030.05314.72
5.3.210.0170.04314.45
5.3.200.0100.04714.55
5.3.190.0030.06714.48
5.3.180.0070.05014.43
5.3.170.0000.05714.43
5.3.160.0170.06014.57
5.3.150.0070.05014.56
5.3.140.0030.05314.39
5.3.130.0030.05714.41
5.3.120.0100.05314.56
5.3.110.0030.06014.64
5.3.100.0070.05313.90
5.3.90.0070.05014.02
5.3.80.0070.05013.80
5.3.70.0100.04714.03
5.3.60.0130.04314.14
5.3.50.0030.05013.80
5.3.40.0030.05313.82
5.3.30.0170.04313.91
5.3.20.0070.06713.73
5.3.10.0070.07313.41
5.3.00.0070.07313.66
5.2.170.0070.04011.23
5.2.160.0070.04011.14
5.2.150.0000.04711.05
5.2.140.0100.05710.89
5.2.130.0100.03311.10
5.2.120.0070.04011.19
5.2.110.0170.04711.11
5.2.100.0100.05310.86
5.2.90.0000.04311.11
5.2.80.0130.05011.11
5.2.70.0070.04311.18
5.2.60.0030.04311.05
5.2.50.0030.04010.95
5.2.40.0030.05010.92
5.2.30.0170.03010.98
5.2.20.0000.04310.97
5.2.10.0070.03710.64
5.2.00.0100.03710.91
5.1.60.0000.0379.86
5.1.50.0070.0309.88
5.1.40.0070.03010.05
5.1.30.0070.03010.56
5.1.20.0070.03310.42
5.1.10.0070.03010.04
5.1.00.0100.03010.11
5.0.50.0000.0308.44
5.0.40.0130.0208.32
5.0.30.0070.0378.33
5.0.20.0000.0308.04
5.0.10.0030.0308.27
5.0.00.0070.0378.16
4.4.90.0000.0237.43
4.4.80.0000.0237.43
4.4.70.0000.0237.43
4.4.60.0100.0207.43
4.4.50.0030.0207.43
4.4.40.0030.0307.43
4.4.30.0070.0177.43
4.4.20.0030.0207.43
4.4.10.0100.0137.43
4.4.00.0000.0377.43
4.3.110.0100.0137.43
4.3.100.0000.0337.43
4.3.90.0030.0207.43
4.3.80.0000.0477.43
4.3.70.0030.0207.43
4.3.60.0070.0177.43
4.3.50.0030.0207.43
4.3.40.0000.0337.43
4.3.30.0000.0237.43
4.3.20.0030.0207.43
4.3.10.0000.0237.43
4.3.00.0100.0207.28

preferences:
41.61 ms | 401 KiB | 5 Q