3v4l.org

run code in 300+ PHP versions simultaneously
<?php $contents=chr(2).chr(2).chr(2)."122222234567890vwxyz".chr(3).chr(3).chr(3); var_dump(preg_match_all('/([\x00-\x09])\1{2,}/', $contents,$res)); var_dump($res); die();

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.0110.00718.24
8.3.50.0120.00721.99
8.3.40.0040.01118.75
8.3.30.0080.00818.96
8.3.20.0080.00019.04
8.3.10.0030.00521.16
8.3.00.0070.00321.93
8.2.180.0120.00916.88
8.2.170.0090.00622.96
8.2.160.0040.01120.35
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0030.00626.16
8.2.120.0080.00021.13
8.2.110.0070.00321.16
8.2.100.0060.00617.75
8.2.90.0050.00319.23
8.2.80.0080.00017.97
8.2.70.0080.00017.50
8.2.60.0050.00317.93
8.2.50.0040.00418.07
8.2.40.0080.00021.31
8.2.30.0040.00421.29
8.2.20.0000.00717.66
8.2.10.0040.00417.84
8.2.00.0040.00417.91
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.92
8.1.230.0060.00617.42
8.1.220.0000.00717.79
8.1.210.0000.00818.77
8.1.200.0030.00617.48
8.1.190.0080.00017.47
8.1.180.0040.00418.10
8.1.170.0000.00918.63
8.1.160.0000.00718.84
8.1.150.0040.00418.62
8.1.140.0000.00717.48
8.1.130.0030.00317.92
8.1.120.0100.00017.50
8.1.110.0000.00917.59
8.1.100.0000.00717.59
8.1.90.0040.00417.60
8.1.80.0000.00817.56
8.1.70.0070.00017.45
8.1.60.0060.00317.66
8.1.50.0000.00817.55
8.1.40.0040.00417.72
8.1.30.0000.00717.70
8.1.20.0050.00317.72
8.1.10.0040.00417.66
8.1.00.0000.01117.63
8.0.300.0000.00818.77
8.0.290.0000.01016.88
8.0.280.0000.00718.50
8.0.270.0040.00417.09
8.0.260.0030.00316.95
8.0.250.0040.00417.09
8.0.240.0060.00317.04
8.0.230.0040.00417.02
8.0.220.0000.00716.99
8.0.210.0030.00317.02
8.0.200.0030.00317.01
8.0.190.0000.00716.95
8.0.180.0000.00717.06
8.0.170.0040.00417.03
8.0.160.0030.00317.01
8.0.150.0040.00416.96
8.0.140.0040.00416.98
8.0.130.0030.00313.54
8.0.120.0050.00317.04
8.0.110.0000.00717.04
8.0.100.0040.00417.04
8.0.90.0070.00016.91
8.0.80.0040.01117.05
8.0.70.0000.00817.14
8.0.60.0000.00717.01
8.0.50.0030.00616.96
8.0.30.0050.01617.29
8.0.20.0070.01517.40
8.0.10.0030.00616.98
8.0.00.0080.01016.84
7.4.330.0050.00015.03
7.4.320.0000.00716.74
7.4.300.0000.00816.60
7.4.290.0030.00316.77
7.4.280.0000.00716.72
7.4.270.0030.00316.74
7.4.260.0050.00013.40
7.4.250.0070.00016.62
7.4.240.0030.00316.66
7.4.230.0020.00516.48
7.4.220.0120.01316.71
7.4.210.0070.00816.86
7.4.200.0040.00416.54
7.4.190.0030.00516.68
7.4.160.0070.01116.51
7.4.150.0110.00617.40
7.4.140.0130.00817.86
7.4.130.0090.01016.69
7.4.120.0080.00916.90
7.4.110.0050.01416.57
7.4.100.0070.01016.79
7.4.90.0060.01516.48
7.4.80.0140.00319.39
7.4.70.0120.00416.59
7.4.60.0180.00016.79
7.4.50.0050.00316.78
7.4.40.0100.00722.52
7.4.30.0090.00916.78
7.4.00.0060.00915.01
7.3.330.0000.00513.22
7.3.320.0000.00613.22
7.3.310.0000.00716.44
7.3.300.0040.00416.29
7.3.290.0090.01016.32
7.3.280.0100.00616.31
7.3.270.0120.00617.40
7.3.260.0120.01018.24
7.3.250.0070.01116.55
7.3.240.0050.01116.28
7.3.230.0100.00716.39
7.3.210.0090.00916.52
7.3.200.0130.00719.39
7.3.190.0150.00616.58
7.3.180.0090.00916.39
7.3.170.0100.01216.44
7.3.160.0080.00816.58
7.3.120.0080.00615.05
7.2.330.0110.00716.52
7.2.320.0150.00916.77
7.2.310.0100.00716.48
7.2.300.0170.00016.54
7.2.290.0090.00916.73
7.2.00.0030.01419.57
7.1.100.0030.01018.27
7.1.70.0000.00917.43
7.1.60.0030.01017.43
7.1.50.0050.00517.07
7.1.40.0060.00616.99
7.1.30.0000.01216.89
7.1.20.0070.00416.82
7.1.10.0060.00616.71
7.1.00.0040.00416.84
7.0.200.0030.00616.93
7.0.190.0000.00816.86
7.0.180.0000.01116.48
7.0.170.0040.00816.30
7.0.160.0030.00516.45
7.0.150.0000.00916.23
7.0.140.0080.00616.61
7.0.130.0060.00616.82
7.0.120.0030.00616.71
7.0.110.0000.00916.72
7.0.100.0000.00816.43
7.0.90.0000.01616.68
7.0.80.0000.01316.71
7.0.70.0000.00816.48
7.0.60.0040.00716.41
7.0.50.0040.00716.65
7.0.40.0000.02115.29
7.0.30.0060.00915.29
7.0.20.0000.01115.29
7.0.10.0150.00015.29
7.0.00.0000.00815.29
5.6.300.0000.04720.66
5.6.290.0060.04220.81
5.6.280.0030.03921.09
5.6.270.0040.03920.88
5.6.260.0100.04220.98
5.6.250.0130.08320.99
5.6.240.0070.04321.04
5.6.230.0030.05820.78
5.6.220.0030.04420.78
5.6.210.0060.03920.62
5.6.200.0170.04020.73
5.6.190.0030.04220.81
5.6.180.0000.06820.82
5.6.170.0100.07020.86
5.6.160.0000.05220.93
5.6.150.0030.04120.82
5.6.140.0070.05120.82
5.6.130.0030.04620.85
5.6.120.0030.05520.80
5.6.110.0030.05520.95
5.6.100.0030.04220.97
5.6.90.0070.04020.80
5.6.80.0030.03720.36
5.6.70.0060.03820.28
5.6.60.0030.06920.22
5.6.50.0070.07820.12
5.6.40.0000.04520.39
5.6.30.0030.05020.39
5.6.20.0030.04020.08
5.6.10.0030.05020.15
5.6.00.0000.04620.29
5.5.380.0000.05417.49
5.5.370.0060.04917.48
5.5.360.0030.04117.45
5.5.350.0160.04917.43
5.5.340.0030.07617.84
5.5.330.0000.05217.86
5.5.320.0030.07117.97
5.5.310.0030.04118.03
5.5.300.0030.04418.06
5.5.290.0000.04617.83
5.5.280.0000.04718.02
5.5.270.0030.05117.93
5.5.260.0030.04018.05
5.5.250.0040.03917.83
5.5.240.0100.03717.41
5.5.230.0000.05417.24
5.5.220.0070.06917.44
5.5.210.0000.04417.45
5.5.200.0000.04317.30
5.5.190.0000.06317.30
5.5.180.0100.04017.05
5.5.160.0070.03817.18
5.5.150.0030.03717.18
5.5.140.0060.03517.37
5.5.130.0000.04317.34
5.5.120.0030.03917.09
5.5.110.0000.04617.45
5.5.100.0070.03717.25
5.5.90.0060.03417.25
5.5.80.0030.04017.18
5.5.70.0000.04417.08
5.5.60.0360.03017.23
5.5.50.0100.04717.10
5.5.40.0030.04117.20
5.5.30.0070.03517.27
5.5.20.0030.03617.10
5.5.10.0000.07317.27
5.5.00.0000.04617.22
5.4.450.0000.04719.18
5.4.440.0170.05619.35
5.4.430.0060.03819.48
5.4.420.0030.04919.32
5.4.410.0030.04219.33
5.4.400.0030.03618.92
5.4.390.0000.05219.07
5.4.380.0100.07319.02
5.4.370.0100.04718.89
5.4.360.0030.04519.07
5.4.350.0030.04419.14
5.4.340.0030.07019.05
5.4.320.0030.04119.14
5.4.310.0000.04519.14
5.4.300.0070.03918.88
5.4.290.0030.03619.09
5.4.280.0070.03618.82
5.4.270.0000.04118.97
5.4.260.0030.04819.09
5.4.250.0030.04219.06
5.4.240.0060.04118.98
5.4.230.0000.04218.82
5.4.220.0000.04719.13
5.4.210.0100.03319.01
5.4.200.0060.04519.06
5.4.190.0070.03219.13
5.4.180.0100.06018.90
5.4.170.0040.04619.13
5.4.160.0030.04318.96
5.4.150.0030.03718.98
5.4.140.0070.03116.55
5.4.130.0040.03516.33
5.4.120.0030.03316.47
5.4.110.0000.04016.46
5.4.100.0000.03616.66
5.4.90.0060.07516.36
5.4.80.0030.05816.65
5.4.70.0000.05616.44
5.4.60.0000.03616.44
5.4.50.0030.04916.66
5.4.40.0000.04216.65
5.4.30.0030.03416.58
5.4.20.0000.07116.61
5.4.10.0000.04116.39
5.4.00.0030.03315.78
5.3.290.0030.04515.29
5.3.280.0060.03215.29
5.3.270.0230.04315.29
5.3.260.0000.04415.29
5.3.250.0070.03115.29
5.3.240.0000.03815.29
5.3.230.0000.03815.29
5.3.220.0000.06215.29
5.3.210.0000.04815.29
5.3.200.0030.05415.29
5.3.190.0030.04115.29
5.3.180.0000.04115.29
5.3.170.0000.04415.29
5.3.160.0030.07615.29
5.3.150.0030.05515.29
5.3.140.0000.03915.29
5.3.130.0030.03615.29
5.3.120.0030.04715.29
5.3.110.0060.04415.29
5.3.100.0070.03715.29
5.3.90.0000.03715.29
5.3.80.0000.03715.29
5.3.70.0060.03215.29
5.3.60.0070.05015.29
5.3.50.0040.03615.29
5.3.40.0000.04315.29
5.3.30.0000.05115.29
5.3.20.0060.03115.29
5.3.10.0000.03915.29
5.3.00.0070.03115.29

preferences:
44.42 ms | 401 KiB | 5 Q