3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = <<<CONTENT a @tag CONTENT; $matches = array(); var_dump(preg_match('/^\n\w*@/', $content, $matches, null, 0) === 1);

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.00618.68
8.3.50.0090.01422.18
8.3.40.0070.00718.91
8.3.30.0100.00319.04
8.3.20.0000.00720.25
8.3.10.0060.00320.73
8.3.00.0090.00619.63
8.2.180.0070.01117.00
8.2.170.0040.01422.96
8.2.160.0070.00720.57
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0000.00722.24
8.2.110.0090.00020.56
8.2.100.0080.00318.09
8.2.90.0040.00419.09
8.2.80.0050.00317.97
8.2.70.0000.00817.75
8.2.60.0000.00817.79
8.2.50.0030.00618.07
8.2.40.0030.00518.03
8.2.30.0000.00719.25
8.2.20.0040.00417.70
8.2.10.0000.00818.11
8.2.00.0040.00417.77
8.1.280.0070.01125.92
8.1.270.0000.00823.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.71
8.1.230.0110.00019.07
8.1.220.0000.00717.74
8.1.210.0030.00518.77
8.1.200.0060.00317.47
8.1.190.0000.00917.35
8.1.180.0060.00318.10
8.1.170.0040.00718.66
8.1.160.0040.00422.00
8.1.150.0040.00418.75
8.1.140.0040.00417.54
8.1.130.0000.00817.90
8.1.120.0070.00017.46
8.1.110.0040.00417.48
8.1.100.0000.00817.52
8.1.90.0070.00017.54
8.1.80.0070.00317.48
8.1.70.0000.00717.43
8.1.60.0040.00417.65
8.1.50.0080.00017.59
8.1.40.0040.00417.57
8.1.30.0060.00317.75
8.1.20.0040.00417.64
8.1.10.0030.00517.66
8.1.00.0000.00717.57
8.0.300.0000.00718.77
8.0.290.0050.00316.75
8.0.280.0000.00718.26
8.0.270.0000.00717.20
8.0.260.0000.00717.21
8.0.250.0000.00717.13
8.0.240.0070.00016.98
8.0.230.0070.00017.07
8.0.220.0000.00716.93
8.0.210.0030.00316.95
8.0.200.0060.00016.93
8.0.190.0000.00816.98
8.0.180.0030.00617.04
8.0.170.0030.00517.08
8.0.160.0040.00416.95
8.0.150.0000.00816.94
8.0.140.0030.00516.93
8.0.130.0000.00713.41
8.0.120.0030.00516.99
8.0.110.0060.00316.97
8.0.100.0000.00717.12
8.0.90.0000.00817.02
8.0.80.0090.00616.96
8.0.70.0080.00017.06
8.0.60.0040.00416.93
8.0.50.0040.00417.07
8.0.30.0120.00717.36
8.0.20.0120.00817.40
8.0.10.0040.00417.24
8.0.00.0130.00716.82
7.4.330.0050.00015.11
7.4.320.0000.00616.81
7.4.300.0030.00316.84
7.4.290.0000.00616.68
7.4.280.0000.01016.68
7.4.270.0040.00416.65
7.4.260.0040.00416.77
7.4.250.0040.00416.64
7.4.240.0020.00616.71
7.4.230.0000.00716.77
7.4.220.0130.00616.86
7.4.210.0030.01616.72
7.4.200.0030.00316.82
7.4.160.0130.00516.43
7.4.150.0120.00617.40
7.4.140.0120.00817.86
7.4.130.0100.00716.53
7.4.120.0100.00716.77
7.4.110.0100.00616.59
7.4.100.0030.01616.52
7.4.90.0100.01016.61
7.4.80.0120.00916.60
7.4.70.0060.01616.89
7.4.60.0120.00416.66
7.4.50.0000.00416.48
7.4.40.0070.01016.54
7.4.30.0090.00616.64
7.4.00.0070.00815.10
7.3.330.0070.00013.15
7.3.320.0060.00013.24
7.3.310.0030.00316.34
7.3.300.0070.00016.42
7.3.290.0060.01216.39
7.3.280.0110.00716.37
7.3.270.0150.00317.40
7.3.260.0130.00316.41
7.3.250.0050.01116.39
7.3.240.0100.00716.71
7.3.230.0090.00616.39
7.3.210.0120.00316.52
7.3.200.0060.01519.39
7.3.190.0050.01116.52
7.3.180.0100.01316.57
7.3.170.0070.01116.35
7.3.160.0130.00316.37
7.3.120.0090.00914.94
7.3.110.0040.01515.03
7.3.100.0070.00714.89
7.3.90.0030.01214.81
7.3.80.0120.00315.04
7.3.70.0040.00714.99
7.3.60.0080.00414.95
7.3.50.0040.01114.93
7.3.40.0000.01714.84
7.3.30.0100.00014.72
7.3.20.0000.01316.75
7.3.10.0070.00716.76
7.3.00.0060.00916.92
7.2.330.0060.01016.78
7.2.320.0060.01316.81
7.2.310.0130.00616.47
7.2.300.0090.00916.63
7.2.290.0090.01216.61
7.2.250.0070.01315.33
7.2.240.0070.01415.08
7.2.230.0120.00615.13
7.2.220.0100.00314.96
7.2.210.0140.00315.11
7.2.200.0060.01015.06
7.2.190.0110.00414.89
7.2.180.0060.00314.95
7.2.170.0060.00915.04
7.2.00.0070.01019.24
7.1.330.0030.01116.05
7.1.320.0000.01216.06
7.1.310.0130.00015.82
7.1.300.0040.01215.96
7.1.290.0040.00815.89
7.1.280.0070.00715.94
7.1.270.0000.01415.82
7.1.260.0040.00715.87
7.1.100.0150.00418.46
7.1.70.0000.00816.99
7.1.60.0070.01719.32
7.1.50.0080.00817.05
7.1.00.0100.07022.49
7.0.200.0070.01116.90
7.0.140.0030.06721.93
7.0.60.0030.08019.93
7.0.50.0000.04317.79
7.0.40.0000.07720.29
7.0.30.0370.06320.01
7.0.20.0400.07320.03
7.0.10.0070.06720.06
7.0.00.0030.04320.04
5.6.280.0070.07020.98
5.6.210.0100.07720.64
5.6.200.0070.03718.14
5.6.190.0030.04320.43
5.6.180.3270.03720.77
5.6.170.0200.08720.47
5.6.160.0030.05320.37
5.6.150.0100.04318.18
5.6.140.0070.06318.12
5.6.130.0070.08318.11
5.6.120.0070.03720.98
5.6.110.0100.07720.88
5.6.100.0100.08721.00
5.6.90.0100.07321.13
5.6.80.0070.03720.45
5.6.70.0370.07020.46
5.5.350.0400.06020.38
5.5.340.0070.08317.89
5.5.330.0030.04320.20
5.5.320.0400.06720.20
5.5.310.0230.04320.28
5.5.300.0130.07717.92
5.5.290.0070.03717.92
5.5.280.0100.08020.79
5.5.270.0100.03720.86
5.5.260.0130.03720.79
5.5.250.0170.07320.61
5.5.240.0400.06320.12
5.4.450.0870.05019.48
5.4.440.0900.06719.65
5.4.430.0830.05019.42
5.4.420.0870.05719.24
5.4.410.1070.05019.47
5.4.400.0830.06019.15
5.4.390.0970.06019.14
5.4.380.0370.05318.63
5.4.370.0600.06318.67
5.4.360.0500.04318.70
5.4.350.0400.06018.59
5.4.340.0400.05318.75
5.4.320.0110.03612.45
5.4.310.0090.04912.45
5.4.300.0050.04612.45
5.4.290.0070.04012.45
5.4.280.0050.03612.35
5.4.270.0060.03612.34
5.4.260.0030.04012.34
5.4.250.0090.03712.35
5.4.240.0080.03412.35
5.4.230.0060.03612.34
5.4.220.0050.03512.34
5.4.210.0060.03512.34
5.4.200.0070.04312.34
5.4.190.0070.03712.34
5.4.180.0040.03712.34
5.4.170.0070.04212.35
5.4.160.0040.03712.34
5.4.150.0050.03612.34
5.4.140.0040.04112.02
5.4.130.0050.03712.01
5.4.120.0080.03411.97
5.4.110.0040.03811.97
5.4.100.0070.04011.96
5.4.90.0040.04011.96
5.4.80.0100.04111.96
5.4.70.0050.04511.96
5.4.60.0050.03611.96
5.4.50.0120.03311.96
5.4.40.0090.03511.95
5.4.30.0050.03811.95
5.4.20.0060.03411.95
5.4.10.0040.03911.95
5.4.00.0060.03911.44
5.3.290.0080.04112.80
5.3.280.0040.04112.71
5.3.270.0100.04112.72
5.3.260.0100.03812.71
5.3.250.0070.03712.72
5.3.240.0060.03712.72
5.3.230.0050.03912.71
5.3.220.0100.03612.68
5.3.210.0100.03812.68
5.3.200.0060.03612.68
5.3.190.0070.03812.68
5.3.180.0060.03612.68
5.3.170.0080.03612.67
5.3.160.0080.04112.68
5.3.150.0040.04312.68
5.3.140.0090.03312.66
5.3.130.0070.04212.65
5.3.120.0100.05312.66
5.3.110.0060.04412.66
5.3.100.0040.04312.12
5.3.90.0060.03612.09
5.3.80.0060.04112.07
5.3.70.0080.03812.07
5.3.60.0090.03712.07
5.3.50.0040.04112.00
5.3.40.0060.03812.00
5.3.30.0090.03511.95
5.3.20.0070.03611.73
5.3.10.0040.03511.70
5.3.00.0050.03811.69
5.2.170.0060.0399.18
5.2.160.0070.0359.19
5.2.150.0060.0349.20
5.2.140.0040.0329.18
5.2.130.0040.0289.15
5.2.120.0050.0289.14
5.2.110.0080.0329.16
5.2.100.0090.0299.15
5.2.90.0070.0329.15
5.2.80.0050.0339.14
5.2.70.0050.0309.14
5.2.60.0020.0329.09
5.2.50.0070.0279.07
5.2.40.0040.0299.05
5.2.30.0050.0289.03
5.2.20.0050.0289.01
5.2.10.0080.0258.91
5.2.00.0020.0328.77
5.1.60.0040.0268.06
5.1.50.0030.0268.05
5.1.40.0050.0238.04
5.1.30.0080.0228.39
5.1.20.0040.0308.41
5.1.10.0050.0258.13
5.1.00.0060.0248.14
5.0.50.0050.0286.62
5.0.40.0070.0166.47
5.0.30.0060.0296.29
5.0.20.0050.0206.26
5.0.10.0030.0226.23
5.0.00.0040.0326.23
4.4.90.0020.0204.78
4.4.80.0010.0204.75
4.4.70.0010.0184.76
4.4.60.0040.0194.75
4.4.50.0030.0154.77
4.4.40.0030.0254.71
4.4.30.0070.0204.76
4.4.20.0060.0184.84
4.4.10.0050.0174.85
4.4.00.0030.0344.75
4.3.110.0020.0174.67
4.3.100.0020.0164.67
4.3.90.0030.0184.63
4.3.80.0030.0244.59
4.3.70.0010.0164.63
4.3.60.0050.0144.62
4.3.50.0050.0164.63
4.3.40.0050.0354.54
4.3.30.0020.0163.29
4.3.20.0020.0153.26
4.3.10.0000.0213.21
4.3.00.0200.0136.90

preferences:
45.79 ms | 401 KiB | 5 Q