3v4l.org

run code in 300+ PHP versions simultaneously
<?php $header = "asd.ads./ads.test+dsa"; $header = ""; $header = 123; #$name = 'hello [*kitty*],how good is today'; preg_match( '/application\/vnd\.ez\.api\.(.*?)\+(?:json|xml)/i', $hedaer, $match ); var_dump( $match );

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.0080.00618.43
8.3.50.0130.00722.99
8.3.40.0180.00418.65
8.3.30.0110.00318.96
8.3.20.0050.00220.20
8.3.10.0000.00823.65
8.3.00.0040.00419.26
8.2.180.0080.01116.63
8.2.170.0110.00722.96
8.2.160.0070.00720.35
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00819.95
8.2.110.0060.00319.21
8.2.100.0040.00817.91
8.2.90.0050.00319.22
8.2.80.0030.00517.97
8.2.70.0040.00417.63
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0060.00320.07
8.2.30.0040.00419.92
8.2.20.0080.00017.93
8.2.10.0040.00417.94
8.2.00.0040.00417.87
8.1.280.0170.00325.92
8.1.270.0060.00923.83
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0030.00622.19
8.1.230.0110.00018.86
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0060.00317.38
8.1.190.0080.00017.35
8.1.180.0080.00018.10
8.1.170.0030.00918.71
8.1.160.0050.00221.95
8.1.150.0060.00318.75
8.1.140.0000.00717.53
8.1.130.0000.00717.90
8.1.120.0030.00417.55
8.1.110.0000.00717.53
8.1.100.0020.00517.54
8.1.90.0070.00017.50
8.1.80.0070.00017.46
8.1.70.0030.00317.48
8.1.60.0040.00417.59
8.1.50.0050.00317.55
8.1.40.0000.00917.66
8.1.30.0040.00417.71
8.1.20.0080.00017.66
8.1.10.0000.00817.63
8.1.00.0040.00417.55
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.30
8.0.270.0000.00717.21
8.0.260.0030.00317.21
8.0.250.0000.00616.97
8.0.240.0040.00417.13
8.0.230.0040.00416.95
8.0.220.0000.00717.02
8.0.210.0030.00317.05
8.0.200.0040.00417.10
8.0.190.0030.00317.11
8.0.180.0070.00316.96
8.0.170.0030.00517.12
8.0.160.0000.00817.02
8.0.150.0000.00716.97
8.0.140.0040.00416.99
8.0.130.0030.00313.45
8.0.120.0030.00516.98
8.0.110.0050.00316.95
8.0.100.0000.00717.09
8.0.90.0000.00817.09
8.0.80.0090.00617.00
8.0.70.0000.00717.07
8.0.60.0000.00716.86
8.0.50.0040.00416.97
8.0.30.0140.00917.17
8.0.20.0120.00617.44
8.0.10.0000.00817.11
8.0.00.0090.00816.84
7.4.330.0020.00215.09
7.4.320.0040.00416.78
7.4.300.0030.00316.73
7.4.290.0030.00316.76
7.4.280.0080.00016.65
7.4.270.0000.00716.75
7.4.260.0040.00416.77
7.4.250.0000.00716.68
7.4.240.0030.00516.56
7.4.230.0000.00716.39
7.4.220.0130.01016.71
7.4.210.0070.00716.55
7.4.200.0040.00416.75
7.4.160.0030.01316.55
7.4.150.0120.00617.40
7.4.140.0060.01417.86
7.4.130.0100.00816.68
7.4.120.0140.00516.70
7.4.110.0030.01316.46
7.4.100.0080.01616.64
7.4.90.0070.01116.43
7.4.80.0100.00719.39
7.4.70.0100.00716.71
7.4.60.0090.00916.63
7.4.50.0040.00416.36
7.4.40.0070.01116.71
7.4.30.0030.01316.53
7.4.00.0060.00914.82
7.3.330.0030.00313.31
7.3.320.0030.00313.19
7.3.310.0040.00416.41
7.3.300.0000.00716.36
7.3.290.0100.00316.38
7.3.280.0070.00816.36
7.3.270.0170.00317.40
7.3.260.0120.00616.32
7.3.250.0080.01116.48
7.3.240.0100.00716.55
7.3.230.0060.01016.39
7.3.210.0170.00616.65
7.3.200.0060.01016.40
7.3.190.0130.00816.29
7.3.180.0080.00816.38
7.3.170.0060.01016.48
7.3.160.0060.01216.50
7.3.10.0090.00616.54
7.3.00.0150.00016.89
7.2.330.0090.00916.68
7.2.320.0100.00716.79
7.2.310.0070.00916.55
7.2.300.0070.01016.35
7.2.290.0060.00916.53
7.2.130.0080.01116.32
7.2.120.0190.00216.44
7.2.110.0060.00916.56
7.2.100.0140.00816.72
7.2.90.0150.00316.59
7.2.80.0120.00916.75
7.2.70.0190.00016.57
7.2.60.0180.00916.24
7.2.50.0190.00416.93
7.2.40.0180.00316.54
7.2.30.0200.01316.85
7.2.20.0110.01116.53
7.2.10.0140.00716.31
7.2.00.0100.00917.92
7.1.250.0080.01215.34
7.1.100.0000.01218.11
7.1.70.0000.01417.38
7.1.60.0140.01019.40
7.1.50.0110.00417.10
7.1.00.0030.07722.59
7.0.200.0260.00714.71
7.0.140.0070.07022.13
7.0.60.0030.09020.02
7.0.50.0100.08017.91
7.0.40.0130.03320.42
7.0.30.0330.06320.21
7.0.20.0230.03320.14
7.0.10.0070.08720.14
7.0.00.0070.07020.02
5.6.280.0000.07720.81
5.6.210.0030.04020.66
5.6.200.0000.08718.19
5.6.190.0070.04020.49
5.6.180.0330.06720.45
5.6.170.0300.03320.50
5.6.160.0000.06020.40
5.6.150.0070.07018.15
5.6.140.0030.09018.21
5.6.130.0100.06018.10
5.6.120.0000.04321.11
5.6.110.0000.04320.97
5.6.100.0170.06720.99
5.6.90.0000.07320.96
5.6.80.0270.06020.50
5.5.350.0000.09320.43
5.5.340.0070.08717.98
5.5.330.0030.04320.40
5.5.320.0130.07320.50
5.5.310.0270.04020.27
5.5.300.0070.03718.01
5.5.290.0100.07317.95
5.5.280.0030.06020.95
5.5.270.0070.03720.75
5.5.260.0130.07020.72
5.5.250.0000.07320.79
5.5.240.0170.02720.18
5.4.450.0170.03319.41
5.4.440.0130.04719.44
5.4.430.0170.03719.40
5.4.420.0130.04019.41
5.4.410.0170.06719.00
5.4.400.0200.06319.09
5.4.390.0270.07319.13
5.4.380.0200.04318.92
5.4.370.0200.07019.16
5.4.360.0270.06719.13
5.4.350.0230.05318.93
5.4.340.0270.07319.16
5.4.320.0270.07019.13
5.4.310.0270.06319.25
5.4.300.0200.06718.80
5.4.290.0200.05719.16
5.4.280.0270.06719.23
5.4.270.0170.06319.05
5.4.260.0270.07719.09
5.4.250.0200.06318.80
5.4.240.0400.05719.12
5.4.230.0330.04019.16
5.4.220.0230.06718.88
5.4.210.0270.04318.80
5.4.200.0300.07019.08
5.4.190.0270.06019.05
5.4.180.0270.07018.87
5.4.170.0200.04319.08
5.4.160.0270.04318.90
5.4.150.0200.04018.86
5.4.140.0170.04016.27
5.4.130.0170.03316.37
5.4.120.0200.06016.45
5.4.110.0270.05716.20
5.4.100.0230.06716.39
5.4.90.0170.03716.21
5.4.80.0230.04016.18
5.4.70.0230.07316.37
5.4.60.0130.05016.39
5.4.50.0200.04016.37
5.4.40.0170.04316.40
5.4.30.0200.07316.46
5.4.20.0230.06016.27
5.4.10.0230.06716.16
5.4.00.0270.06315.88
5.3.290.0300.07014.75
5.3.280.0270.06714.55
5.3.270.0230.07014.65
5.3.260.0270.06314.45
5.3.250.0270.03014.65
5.3.240.0170.04014.63
5.3.230.0130.04014.43
5.3.220.0200.07314.51
5.3.210.0300.07014.54
5.3.200.0300.06314.42
5.3.190.0200.03714.40
5.3.180.0270.06314.50
5.3.170.0230.07314.43
5.3.160.0330.04314.65
5.3.150.0200.03714.50
5.3.140.0200.03714.41
5.3.130.0270.07314.48
5.3.120.0270.08014.38
5.3.110.0230.07314.48
5.3.100.0200.04313.98
5.3.90.0200.03713.96
5.3.80.0270.03013.84
5.3.70.0200.07013.86
5.3.60.0230.07014.09
5.3.50.0270.06313.88
5.3.40.0270.06713.82
5.3.30.0200.05013.86
5.3.20.0330.06013.59
5.3.10.0170.07713.50
5.3.00.0230.05313.54
5.2.170.0130.05712.67
5.2.160.0230.04012.67
5.2.150.0170.04012.67
5.2.140.0100.04012.67
5.2.130.0200.05712.67
5.2.120.0170.03312.67
5.2.110.0130.05712.67
5.2.100.0130.03712.67
5.2.90.0200.03312.67
5.2.80.0230.04312.67
5.2.70.0200.06012.67
5.2.60.0200.05712.67
5.2.50.0300.05312.67
5.2.40.0230.05012.67
5.2.30.0130.06012.67
5.2.20.0130.06012.67
5.2.10.0130.06012.67
5.2.00.0070.04312.67
5.1.60.0200.05012.67
5.1.50.0200.04712.67
5.1.40.0170.03012.67
5.1.30.0130.05712.67
5.1.20.0130.04712.67
5.1.10.0200.05012.67
5.1.00.0200.03312.67
5.0.50.0070.04712.67
5.0.40.0200.02712.67
5.0.30.0130.06312.67
5.0.20.0100.04012.67
5.0.10.0130.03312.67
5.0.00.0130.05712.67
4.4.90.0100.02012.67
4.4.80.0070.04012.67
4.4.70.0070.02712.67
4.4.60.0030.04012.67
4.4.50.0100.02312.67
4.4.40.0170.04712.67
4.4.30.0100.03012.67
4.4.20.0170.01712.67
4.4.10.0200.00712.67
4.4.00.0030.04312.67
4.3.110.0130.01712.67
4.3.100.0070.03312.67
4.3.90.0130.03012.67
4.3.80.0030.05012.67
4.3.70.0170.01312.67
4.3.60.0070.03712.67
4.3.50.0170.02312.67
4.3.40.0030.05312.67
4.3.30.0030.03712.67
4.3.20.0000.03312.67
4.3.10.0070.03012.67
4.3.00.0070.02712.67

preferences:
53.1 ms | 401 KiB | 5 Q