3v4l.org

run code in 300+ PHP versions simultaneously
<?php $msg = "Zeile 214: Wert &#34;0&#34; ist nicht Facet-gültig in Bezug auf Enumeration &#34;[1]&#34;. Er muss ein Wert aus der Enumeration sein."; $regResult = null; $r = '(?:^Zeile\s)(\d+)(?::\s+)(.+$)'; $reg = '/' . $r . '/'; if(preg_match($reg, $msg, $regResult)) { echo 'Zeile:'.$regResult[0]; echo 'Meldung:'.$regResult[1]; } else{ echo 'mist...'; }

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.0100.01016.75
8.3.50.0080.01121.30
8.3.40.0140.00718.97
8.3.30.0070.00719.01
8.3.20.0040.00420.30
8.3.10.0090.00020.49
8.3.00.0080.00020.34
8.2.180.0090.00616.61
8.2.170.0120.00322.96
8.2.160.0100.00320.43
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0060.00319.73
8.2.120.0040.00426.35
8.2.110.0060.00322.31
8.2.100.0040.00817.88
8.2.90.0000.00919.40
8.2.80.0040.00417.97
8.2.70.0060.00317.88
8.2.60.0000.00918.16
8.2.50.0040.00418.09
8.2.40.0030.00622.45
8.2.30.0050.00221.38
8.2.20.0000.00717.91
8.2.10.0070.00018.23
8.2.00.0000.00718.02
8.1.280.0040.01125.92
8.1.270.0100.00324.02
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0060.00322.54
8.1.230.0090.00317.60
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0030.00617.60
8.1.190.0040.00417.36
8.1.180.0030.00618.10
8.1.170.0080.00018.78
8.1.160.0000.00721.03
8.1.150.0080.00018.83
8.1.140.0060.00319.52
8.1.130.0000.00717.78
8.1.120.0040.00417.63
8.1.110.0040.00417.58
8.1.100.0040.00417.65
8.1.90.0000.00817.50
8.1.80.0040.00417.58
8.1.70.0040.00417.51
8.1.60.0080.00017.72
8.1.50.0030.00617.67
8.1.40.0080.00017.61
8.1.30.0080.00017.71
8.1.20.0040.00417.82
8.1.10.0040.00417.65
8.1.00.0040.00417.66
8.0.300.0040.00418.77
8.0.290.0070.00016.88
8.0.280.0070.00018.47
8.0.270.0030.00317.28
8.0.260.0060.00017.30
8.0.250.0070.00017.01
8.0.240.0040.00417.12
8.0.230.0070.00017.11
8.0.220.0040.00416.97
8.0.210.0000.00817.05
8.0.200.0000.00717.04
8.0.190.0040.00317.04
8.0.180.0050.00317.13
8.0.170.0040.00416.95
8.0.160.0000.00716.96
8.0.150.0050.00317.01
8.0.140.0070.00016.98
8.0.130.0050.00013.49
8.0.120.0000.00816.98
8.0.110.0040.00417.04
8.0.100.0000.00716.92
8.0.90.0040.00416.95
8.0.80.0030.01316.98
8.0.70.0050.00216.92
8.0.60.0000.00716.85
8.0.50.0000.00716.88
8.0.30.0100.00717.14
8.0.20.0120.00817.46
8.0.10.0040.00417.09
8.0.00.0080.01416.81
7.4.330.0050.00016.88
7.4.320.0000.00616.64
7.4.300.0000.00616.79
7.4.290.0000.00716.64
7.4.280.0020.00516.64
7.4.270.0030.00316.65
7.4.260.0040.00416.63
7.4.250.0040.00416.69
7.4.240.0020.00516.71
7.4.230.0030.00316.74
7.4.220.0130.01316.83
7.4.210.0060.00916.68
7.4.200.0030.00316.59
7.4.160.0070.01616.72
7.4.150.0180.00017.40
7.4.140.0060.01317.86
7.4.130.0090.00916.76
7.4.120.0100.01216.66
7.4.110.0090.00916.81
7.4.100.0120.00616.55
7.4.90.0090.00916.71
7.4.80.0070.01019.39
7.4.70.0100.01016.88
7.4.60.0100.00616.40
7.4.50.0070.00716.63
7.4.40.0060.01116.68
7.4.30.0110.00416.63
7.4.00.0030.01015.02
7.3.330.0000.00613.28
7.3.320.0020.00213.46
7.3.310.0050.00216.31
7.3.300.0000.00716.47
7.3.290.0060.01116.34
7.3.280.0060.01316.41
7.3.270.0160.00417.40
7.3.260.0070.01616.68
7.3.250.0110.00816.55
7.3.240.0130.00616.66
7.3.230.0090.00916.62
7.3.210.0160.00616.36
7.3.200.0060.00916.48
7.3.190.0060.01216.61
7.3.180.0090.00616.80
7.3.170.0080.01316.47
7.3.160.0050.01016.49
7.3.10.0080.00816.91
7.3.00.0040.01216.98
7.2.330.0110.01516.82
7.2.320.0100.00716.72
7.2.310.0150.00316.93
7.2.300.0090.01316.80
7.2.290.0120.00416.85
7.2.130.0130.00316.97
7.2.120.0020.01217.01
7.2.110.0070.00716.71
7.2.100.0120.00317.00
7.2.90.0070.00817.00
7.2.80.0080.00716.75
7.2.70.0050.00717.14
7.2.60.0060.00916.96
7.2.50.0050.00817.18
7.2.40.0060.00617.05
7.2.30.0050.01017.10
7.2.20.0040.00716.92
7.2.10.0090.00617.11
7.2.00.0030.01017.93
7.1.250.0060.00615.80
7.1.240.0070.00015.93
7.1.230.0040.01216.13
7.1.220.0000.01015.74
7.1.210.0110.00316.11
7.1.200.0020.01316.02
7.1.190.0030.01015.89
7.1.180.0070.00716.13
7.1.170.0040.00716.11
7.1.160.0000.01315.90
7.1.150.0060.00316.01
7.1.140.0000.01316.04
7.1.130.0040.00816.05
7.1.120.0060.00315.93
7.1.110.0130.00016.13
7.1.100.0060.00816.84
7.1.90.0050.00516.15
7.1.80.0080.00416.07
7.1.70.0030.00816.53
7.1.60.0090.01117.63
7.1.50.0030.01016.03
7.1.40.0040.00816.02
7.1.30.0030.00915.98
7.1.20.0040.00815.73
7.1.10.0040.00716.04
7.1.00.0080.03719.13
7.0.320.0040.00415.45
7.0.310.0060.00615.71
7.0.300.0040.01115.65
7.0.290.0030.00915.69
7.0.280.0060.00915.64
7.0.270.0000.01115.49
7.0.260.0060.00615.61
7.0.250.0080.00415.61
7.0.240.0000.01215.51
7.0.230.0060.00615.80
7.0.220.0040.00715.37
7.0.210.0070.00415.68
7.0.200.0060.00615.99
7.0.190.0090.00615.66
7.0.180.0030.00915.56
7.0.170.0110.00415.75
7.0.160.0030.00615.62
7.0.150.0040.00815.68
7.0.140.0080.00615.65
7.0.130.0120.00015.68
7.0.120.0070.00715.72
7.0.110.0030.01015.76
7.0.100.0000.01115.73
7.0.90.0000.01415.54
7.0.80.0040.01115.30
7.0.70.0100.00315.46
7.0.60.0100.01817.91
7.0.50.0010.04616.65
7.0.40.0030.04617.01
7.0.30.0150.03616.69
7.0.20.0110.02417.06
7.0.10.0050.04417.00
7.0.00.0030.04816.90
5.6.380.0070.00714.64
5.6.370.0030.00714.25
5.6.360.0060.00614.65
5.6.350.0030.01314.31
5.6.340.0000.01214.36
5.6.330.0030.01014.10
5.6.320.0050.00313.96
5.6.310.0030.00914.08
5.6.300.0040.01214.55
5.6.290.0040.00714.08
5.6.280.0050.03817.66
5.6.270.0030.01014.35
5.6.260.0040.01114.63
5.6.250.0040.01214.48
5.6.240.0100.00314.70
5.6.230.0070.00714.20
5.6.220.0030.01014.25
5.6.210.0050.03917.66
5.6.200.0060.02216.34
5.6.190.0100.04217.53
5.6.180.0120.02717.61
5.6.170.0150.04017.49
5.6.160.0030.04817.32
5.6.150.0080.04016.17
5.6.140.0090.03916.36
5.6.130.0070.04616.44
5.6.120.0080.02317.81
5.6.110.0080.03517.68
5.6.100.0060.04617.71
5.6.90.0060.02517.58
5.6.80.0170.03217.38
5.6.70.0030.01014.39
5.6.60.0060.00614.16
5.6.50.0040.00814.33
5.6.40.0070.00714.32
5.6.30.0130.00314.39
5.6.20.0060.00314.69
5.6.10.0070.00314.34
5.6.00.0030.01014.51
5.5.380.0080.00311.36
5.5.370.0090.00311.07
5.5.360.0100.00011.21
5.5.350.1700.02515.88
5.5.340.0030.03614.52
5.5.330.0100.04115.72
5.5.320.0160.03815.79
5.5.310.0180.02315.85
5.5.300.0100.03214.61
5.5.290.0110.03614.53
5.5.280.0070.04415.92
5.5.270.0100.02715.86
5.5.260.0030.04215.88
5.5.250.0100.04015.82
5.5.240.0050.03415.66
5.5.230.0030.00311.10
5.5.220.0040.00411.21
5.5.210.0120.00011.07
5.5.200.0060.00311.27
5.5.190.0030.00311.07
5.5.180.0030.00611.29
5.5.170.0100.00314.24
5.5.160.0060.00611.07
5.5.150.0110.00011.34
5.5.140.0070.00311.23
5.5.130.0100.00011.14
5.5.120.0030.00311.07
5.5.110.0120.00011.23
5.5.100.0040.00711.29
5.5.90.0030.00611.07
5.5.80.0040.00411.07
5.5.70.0060.00611.19
5.5.60.0070.00411.07
5.5.50.0080.00311.21
5.5.40.0060.00311.07
5.5.30.0050.00511.13
5.5.20.0090.00011.17
5.5.10.0000.01211.07
5.5.00.0060.00611.07

preferences:
54.07 ms | 401 KiB | 5 Q