3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lib_path = 'core/modules/statistics/statistics.js'; $re = '/(<script src=").*?(core/modules/statistics/statistics.js).*?(">)/is'; $content = 'Some content <script src="http://example.com/core/modules/statistics/statistics.js"></script> Etc.'; var_dump(preg_match($re, $content));

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.0090.00916.75
8.3.50.0080.01321.97
8.3.40.0040.01118.85
8.3.30.0030.01018.84
8.3.20.0050.00320.17
8.3.10.0040.00423.70
8.3.00.0070.00022.46
8.2.180.0060.01216.88
8.2.170.0140.00022.96
8.2.160.0070.00720.36
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00422.31
8.2.110.0060.00322.13
8.2.100.0110.00017.71
8.2.90.0040.00419.09
8.2.80.0030.00617.97
8.2.70.0000.00817.63
8.2.60.0030.00717.90
8.2.50.0080.00018.07
8.2.40.0000.00818.02
8.2.30.0040.00417.88
8.2.20.0040.00417.64
8.2.10.0000.00817.62
8.2.00.0080.00017.52
8.1.280.0110.00325.92
8.1.270.0040.00423.79
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0080.00023.92
8.1.230.0090.00319.16
8.1.220.0050.00317.74
8.1.210.0090.00018.77
8.1.200.0090.00017.23
8.1.190.0080.00017.41
8.1.180.0030.00618.10
8.1.170.0090.00018.59
8.1.160.0040.00421.98
8.1.150.0080.00018.55
8.1.140.0050.00317.30
8.1.130.0000.00717.73
8.1.120.0000.00717.40
8.1.110.0030.00517.33
8.1.100.0000.00717.22
8.1.90.0000.00717.38
8.1.80.0030.00317.27
8.1.70.0070.00017.25
8.1.60.0000.00817.56
8.1.50.0000.00717.46
8.1.40.0040.00417.31
8.1.30.0000.00817.57
8.1.20.0040.00417.63
8.1.10.0040.00417.44
8.1.00.0030.00617.25
8.0.300.0080.00018.77
8.0.290.0040.00417.05
8.0.280.0000.00718.42
8.0.270.0040.00417.11
8.0.260.0000.00716.81
8.0.250.0000.00616.82
8.0.240.0050.00316.86
8.0.230.0030.00616.92
8.0.220.0030.00316.86
8.0.210.0030.00516.89
8.0.200.0040.00416.88
8.0.190.0080.00316.89
8.0.180.0040.00416.91
8.0.170.0000.00816.90
8.0.160.0000.00716.91
8.0.150.0030.00516.77
8.0.140.0050.00216.74
8.0.130.0000.00613.29
8.0.120.0040.00416.68
8.0.110.0040.00416.88
8.0.100.0030.00516.70
8.0.90.0040.00416.91
8.0.80.0090.00616.89
8.0.70.0000.00716.67
8.0.60.0050.00316.76
8.0.50.0050.00316.77
8.0.30.0150.01017.10
8.0.20.0120.00717.40
8.0.10.0000.00817.07
8.0.00.0110.00816.65
7.4.330.0000.00615.00
7.4.320.0050.00216.45
7.4.300.0060.00016.55
7.4.290.0030.00316.51
7.4.280.0030.00316.43
7.4.270.0000.00616.54
7.4.260.0070.00016.51
7.4.250.0000.00816.48
7.4.240.0030.00416.50
7.4.230.0040.00416.60
7.4.220.0120.00916.57
7.4.210.0090.00716.49
7.4.200.0000.00716.57
7.4.190.0000.00716.63
7.4.160.0090.00616.51
7.4.150.0100.00717.40
7.4.140.0090.00817.86
7.4.130.0110.00616.43
7.4.120.0100.01016.40
7.4.110.0100.01416.25
7.4.100.0090.00916.35
7.4.90.0100.00616.44
7.4.80.0060.01219.39
7.4.70.0060.01016.51
7.4.60.0060.00916.44
7.4.50.0060.00316.36
7.4.40.0040.01422.77
7.4.30.0000.01616.59
7.4.00.0030.01014.68
7.3.330.0060.00012.96
7.3.320.0000.00513.22
7.3.310.0030.00316.11
7.3.300.0060.00016.25
7.3.290.0080.00816.21
7.3.280.0080.00816.23
7.3.270.0150.00317.40
7.3.260.0030.01416.23
7.3.250.0100.00816.17
7.3.240.0140.00716.30
7.3.230.0140.00316.48
7.3.210.0110.00816.14
7.3.200.0060.01619.39
7.3.190.0090.00916.31
7.3.180.0090.01216.50
7.3.170.0120.00316.27
7.3.160.0030.01316.41
7.3.120.0070.01014.93
7.2.330.0000.02116.55
7.2.320.0110.00616.57
7.2.310.0120.00416.32
7.2.300.0090.00816.44
7.2.290.0070.01016.43
7.2.60.0000.01016.82
7.1.200.0030.01015.85
7.1.70.0030.00716.80
7.1.60.0070.01719.29
7.1.50.0210.02134.79
7.1.00.0070.07322.31
7.0.200.0000.00716.80
7.0.140.0000.07022.18
7.0.60.0170.03019.79
7.0.50.0030.07717.84
7.0.40.0070.05020.21
7.0.30.0330.07720.09
7.0.20.0230.05020.00
7.0.10.0070.04020.22
7.0.00.0070.05720.16
5.6.280.0070.07020.90
5.6.210.0130.07720.46
5.6.200.0070.04718.09
5.6.190.0130.06320.45
5.6.180.2870.04320.62
5.6.170.0370.07320.48
5.6.160.0070.07320.45
5.6.150.0030.04018.22
5.6.140.0130.04718.21
5.6.130.0100.04318.21
5.6.120.0170.05320.99
5.6.110.0070.07720.98
5.6.100.0100.08320.97
5.6.90.0030.04720.96
5.6.80.0070.04020.38
5.6.70.4370.03720.34
5.5.350.0230.08020.34
5.5.340.0100.06317.92
5.5.330.0070.07020.47
5.5.320.0470.06320.20
5.5.310.0270.04720.12
5.5.300.0100.08318.00
5.5.290.0100.04018.01
5.5.280.0100.03720.89
5.5.270.0030.04320.96
5.5.260.0030.09020.64
5.5.250.0070.08020.65
5.5.240.0270.06720.14
5.4.450.0870.05319.61
5.4.440.0830.06319.48
5.4.430.0670.06019.60
5.4.420.1400.06019.48
5.4.410.0900.04019.39
5.4.400.0700.05019.29
5.4.390.0170.05019.31
5.4.380.0100.05718.56
5.4.370.0370.04718.55
5.4.360.0500.05018.68
5.4.350.0270.06318.52
5.4.340.0300.05718.48
5.4.320.0060.03612.45
5.4.310.0070.03912.45
5.4.300.0060.03712.45
5.4.290.0040.04012.45
5.4.280.0040.03612.35
5.4.270.0030.03812.35
5.4.260.0040.03912.35
5.4.250.0030.03912.35
5.4.240.0040.03712.32
5.4.230.0040.03812.31
5.4.220.0020.03912.31
5.4.210.0050.03512.31
5.4.200.0050.03812.31
5.4.190.0030.03712.30
5.4.180.0040.03712.30
5.4.170.0050.03512.32
5.4.160.0070.03412.31
5.4.150.0070.03412.30
5.4.140.0050.03711.99
5.4.130.0060.03411.98
5.4.120.0030.03711.94
5.4.110.0030.03711.93
5.4.100.0040.03611.93
5.4.90.0040.03711.94
5.4.80.0050.03711.93
5.4.70.0080.03211.93
5.4.60.0080.03211.93
5.4.50.0080.03311.93
5.4.40.0060.03411.91
5.4.30.0020.03911.92
5.4.20.0050.03411.92
5.4.10.0070.03211.91
5.4.00.0040.03611.40
5.3.290.0070.03912.80
5.3.280.0060.03612.71
5.3.270.0020.04212.73
5.3.260.0050.03912.72
5.3.250.0030.03912.72
5.3.240.0040.03912.72
5.3.230.0040.03912.71
5.3.220.0060.03712.68
5.3.210.0060.03812.68
5.3.200.0040.03812.68
5.3.190.0040.03912.68
5.3.180.0050.03712.68
5.3.170.0060.03512.67
5.3.160.0040.03712.67
5.3.150.0060.03612.67
5.3.140.0100.03212.66
5.3.130.0040.04012.66
5.3.120.0050.03912.66
5.3.110.0020.04112.66
5.3.100.0050.03712.12
5.3.90.0060.03612.08
5.3.80.0050.03812.07
5.3.70.0050.03712.07
5.3.60.0060.03612.06
5.3.50.0030.03812.00
5.3.40.0030.04112.00
5.3.30.0050.03511.94
5.3.20.0050.03611.69
5.3.10.0060.03411.65
5.3.00.0060.03611.63
5.2.170.0050.0309.14
5.2.160.0030.0319.14
5.2.150.0040.0319.14
5.2.140.0030.0319.13
5.2.130.0020.0319.09
5.2.120.0040.0329.09
5.2.110.0060.0339.10
5.2.100.0070.0289.11
5.2.90.0050.0309.10
5.2.80.0050.0379.09
5.2.70.0060.0289.09
5.2.60.0050.0329.04
5.2.50.0040.0389.01
5.2.40.0050.0308.99
5.2.30.0050.0308.96
5.2.20.0030.0298.96
5.2.10.0040.0278.88
5.2.00.0020.0318.74
5.1.60.0070.0218.02
5.1.50.0070.0228.02
5.1.40.0030.0268.01
5.1.30.0030.0268.36
5.1.20.0050.0258.38
5.1.10.0020.0288.11
5.1.00.0060.0238.09
5.0.50.0020.0216.58
5.0.40.0000.0226.43
5.0.30.0020.0326.26
5.0.20.0030.0196.22
5.0.10.0040.0186.20
5.0.00.0030.0316.20
4.4.90.0030.0154.78
4.4.80.0020.0164.76
4.4.70.0020.0164.76
4.4.60.0000.0174.76
4.4.50.0010.0164.77
4.4.40.0010.0264.71
4.4.30.0020.0164.76
4.4.20.0050.0134.85
4.4.10.0030.0154.85
4.4.00.0020.0254.76
4.3.110.0040.0144.66
4.3.100.0000.0174.66
4.3.90.0000.0164.64
4.3.80.0020.0244.59
4.3.70.0030.0144.63
4.3.60.0020.0154.63
4.3.50.0010.0164.63
4.3.40.0040.0224.54
4.3.30.0000.0173.27
4.3.20.0000.0173.25
4.3.10.0020.0153.21
4.3.00.0030.0206.86

preferences:
45.48 ms | 401 KiB | 5 Q