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', $header, $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.40.0090.00619.02
8.3.30.0060.01218.96
8.3.20.0050.00220.32
8.3.10.0040.00423.59
8.3.00.0060.00319.15
8.2.170.0090.00922.96
8.2.160.0070.01320.52
8.2.150.0050.00324.18
8.2.140.0050.00224.66
8.2.130.0020.00526.16
8.2.120.0030.00521.22
8.2.110.0060.00322.20
8.2.100.0110.00018.16
8.2.90.0060.00319.22
8.2.80.0050.00517.97
8.2.70.0040.00417.63
8.2.60.0050.00517.80
8.2.50.0080.00018.07
8.2.40.0030.00518.22
8.2.30.0000.00718.00
8.2.20.0030.00617.80
8.2.10.0000.00817.92
8.2.00.0030.00617.82
8.1.270.0080.00623.96
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00023.91
8.1.230.0060.00619.16
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.25
8.1.190.0030.00517.38
8.1.180.0040.00418.10
8.1.170.0050.00318.77
8.1.160.0050.00221.89
8.1.150.0030.00618.89
8.1.140.0040.00417.44
8.1.130.0050.00317.94
8.1.120.0070.00017.57
8.1.110.0000.00717.45
8.1.100.0020.00517.44
8.1.90.0040.00417.54
8.1.80.0030.00317.52
8.1.70.0000.00717.46
8.1.60.0030.00617.69
8.1.50.0050.00317.60
8.1.40.0060.00317.49
8.1.30.0000.00817.75
8.1.20.0040.00417.66
8.1.10.0050.00317.56
8.1.00.0030.00517.42
8.0.300.0040.00418.77
8.0.290.0050.00216.63
8.0.280.0030.00518.46
8.0.270.0070.00017.32
8.0.260.0000.00617.20
8.0.250.0030.00317.07
8.0.240.0040.00416.92
8.0.230.0000.00716.88
8.0.220.0000.00616.93
8.0.210.0030.00316.96
8.0.200.0030.00317.01
8.0.190.0000.00816.86
8.0.180.0080.00316.99
8.0.170.0040.00416.86
8.0.160.0000.00716.94
8.0.150.0000.00716.93
8.0.140.0000.00716.92
8.0.130.0050.00013.31
8.0.120.0030.00616.96
8.0.110.0000.00716.86
8.0.100.0000.00716.82
8.0.90.0000.00816.86
8.0.80.0130.00717.02
8.0.70.0040.00417.02
8.0.60.0040.00416.80
8.0.50.0000.00717.00
8.0.30.0120.01017.25
8.0.20.0060.01317.40
8.0.10.0050.00216.98
8.0.00.0130.00516.95
7.4.330.0000.00515.00
7.4.320.0030.00316.69
7.4.300.0030.00316.63
7.4.290.0030.00316.58
7.4.280.0040.00416.63
7.4.270.0000.00716.66
7.4.260.0070.00016.72
7.4.250.0070.00016.71
7.4.240.0040.00416.72
7.4.230.0030.00316.59
7.4.220.0100.01316.55
7.4.210.0090.01016.54
7.4.200.0000.00816.48
7.4.160.0030.01416.65
7.4.150.0180.00717.40
7.4.140.0100.00717.86
7.4.130.0150.00316.66
7.4.120.0110.00516.63
7.4.110.0120.00616.65
7.4.100.0100.01416.63
7.4.90.0140.00716.68
7.4.80.0150.00719.39
7.4.70.0100.00716.83
7.4.60.0090.00916.70
7.4.50.0000.00816.55
7.4.40.0120.00416.56
7.4.30.0090.00716.44
7.4.00.0050.01215.28
7.3.330.0000.00513.12
7.3.320.0000.00613.00
7.3.310.0000.00716.27
7.3.300.0030.00316.28
7.3.290.0100.00316.29
7.3.280.0050.01016.34
7.3.270.0150.00917.40
7.3.260.0110.00616.33
7.3.250.0120.01016.32
7.3.240.0050.01216.54
7.3.230.0030.01316.39
7.3.210.0080.00816.59
7.3.200.0100.00616.38
7.3.190.0150.00616.26
7.3.180.0100.00616.37
7.3.170.0120.00916.41
7.3.160.0080.00816.29
7.3.120.0060.01314.74
7.3.110.0090.00614.93
7.3.100.0130.00714.66
7.3.90.0040.01114.95
7.3.80.0070.01014.80
7.3.70.0070.00414.87
7.3.60.0030.00514.81
7.3.50.0060.00314.99
7.3.40.0140.00014.93
7.3.30.0070.00714.82
7.3.20.0060.00616.73
7.3.10.0030.00916.61
7.3.00.0050.00516.57
7.2.330.0070.01116.61
7.2.320.0100.00716.64
7.2.310.0070.01316.61
7.2.300.0090.01016.63
7.2.290.0040.01216.58
7.2.250.0090.00915.11
7.2.240.0070.01114.79
7.2.230.0080.00815.13
7.2.220.0070.01014.91
7.2.210.0000.01314.84
7.2.200.0070.00314.98
7.2.190.0060.00914.87
7.2.180.0070.01015.11
7.2.170.0030.01015.04
7.2.160.0040.00815.01
7.2.150.0070.00717.08
7.2.140.0000.01416.97
7.2.130.0050.00516.98
7.2.120.0060.00916.80
7.2.110.0070.00316.86
7.2.100.0070.00316.91
7.2.90.0030.01017.07
7.2.80.0030.01016.89
7.2.70.0000.01516.77
7.2.60.0060.00917.09
7.2.50.0030.01216.63
7.2.40.0070.00716.83
7.2.30.0030.01416.93
7.2.20.0060.00916.95
7.2.10.0030.01016.95
7.2.00.0050.00918.16
7.1.330.0000.01515.95
7.1.320.0000.01415.80
7.1.310.0000.01315.84
7.1.300.0080.00815.94
7.1.290.0030.00616.00
7.1.280.0100.00315.76
7.1.270.0030.01015.67
7.1.260.0060.01015.82
7.1.250.0110.00415.88
7.1.240.0100.00615.73
7.1.230.0060.00616.05
7.1.220.0060.00815.55
7.1.210.0070.00716.04
7.1.200.0020.00915.88
7.1.190.0040.01115.60
7.1.180.0030.01015.84
7.1.170.0080.00315.61
7.1.160.0030.00615.88
7.1.150.0040.00415.80
7.1.140.0100.00016.00
7.1.130.0080.00415.84
7.1.120.0030.01415.76
7.1.110.0040.01115.91
7.1.100.0070.00817.20
7.1.90.0120.00316.06
7.1.80.0040.00715.90
7.1.70.0030.01016.52
7.1.60.0030.01317.55
7.1.50.0090.01116.35
7.1.40.0100.00315.77
7.1.30.0090.00016.03
7.1.20.0000.01316.06
7.1.10.0050.00815.83
7.1.00.0000.04619.14
7.0.330.0070.00715.49
7.0.320.0060.00315.35
7.0.310.0030.00615.56
7.0.300.0070.00715.26
7.0.290.0050.00315.17
7.0.280.0100.00315.39
7.0.270.0060.00615.59
7.0.260.0030.01015.39
7.0.250.0000.01115.09
7.0.240.0070.00715.57
7.0.230.0100.00315.36
7.0.220.0060.00615.21
7.0.210.0070.00315.65
7.0.200.0130.00515.14
7.0.190.0030.00615.49
7.0.180.0060.00915.52
7.0.170.0080.00415.48
7.0.160.0080.00415.58
7.0.150.0080.00415.39
7.0.140.0070.03718.74
7.0.130.0030.01015.46
7.0.120.0090.00315.42
7.0.110.0140.00315.51
7.0.100.0120.00015.43
7.0.90.0090.00015.52
7.0.80.0060.00615.64
7.0.70.0100.00015.68
7.0.60.0080.04117.80
7.0.50.0070.02316.65
7.0.40.0130.02016.86
7.0.30.0170.04316.79
7.0.20.0120.03316.95
7.0.10.0050.04017.00
7.0.00.0070.03816.78
5.6.400.0070.00714.24
5.6.390.0000.01314.16
5.6.380.0030.01314.27
5.6.370.0060.00614.60
5.6.360.0030.01214.02
5.6.350.0040.01214.09
5.6.340.0080.00014.36
5.6.330.0090.00014.07
5.6.320.0030.01014.40
5.6.310.0060.00914.32
5.6.300.0000.01214.08
5.6.290.0060.00914.16
5.6.280.0050.03917.41
5.6.270.0070.00714.34
5.6.260.0000.01014.50
5.6.250.0040.01014.05
5.6.240.0030.00714.36
5.6.230.0040.01114.14
5.6.220.0110.00714.54
5.6.210.0070.04717.53
5.6.200.0090.04616.16
5.6.190.0070.03017.23
5.6.180.0100.03617.46
5.6.170.0150.03517.52
5.6.160.0060.05017.42
5.6.150.0050.04416.23
5.6.140.0090.03916.12
5.6.130.0070.02916.29
5.6.120.0050.04817.58
5.6.110.0080.03917.62
5.6.100.0030.04717.59
5.6.90.0130.04017.60
5.6.80.0100.02017.33
5.6.70.0040.00714.35
5.6.60.0060.00914.19
5.6.50.0030.00714.05
5.6.40.0060.00614.37
5.6.30.0090.00914.05
5.6.20.0060.00913.88
5.6.10.0060.00913.88
5.6.00.0040.01114.22
5.5.380.0030.00514.36
5.5.370.0140.00014.18
5.5.360.0040.00814.16
5.5.350.0100.03317.21
5.5.340.0030.03716.23
5.5.330.0030.03717.20
5.5.320.0170.02417.34
5.5.310.0200.03817.17
5.5.300.0050.02216.11
5.5.290.0030.02315.87
5.5.280.0070.04217.39
5.5.270.0080.04517.61
5.5.260.0070.04517.49
5.5.250.0020.04917.41
5.5.240.0130.04017.20
5.5.230.0000.01414.06
5.5.220.0000.00913.87
5.5.210.0000.01514.06
5.5.200.0030.01514.14
5.5.190.0080.00414.31
5.5.180.0120.00313.91
5.5.170.0070.00714.12
5.5.160.0030.01313.91
5.5.150.0040.01114.26
5.5.140.0040.01213.66
5.5.130.0070.00714.24
5.5.120.0060.00613.88
5.5.110.0100.00314.14
5.5.100.0070.00714.05
5.5.90.0000.00914.21
5.5.80.0070.00714.32
5.5.70.0080.00814.21
5.5.60.0060.00613.91
5.5.50.0040.01114.14
5.5.40.0090.00613.86
5.5.30.0030.00714.21
5.5.20.0030.01214.26
5.5.10.0100.00714.20
5.5.00.0120.00413.82
5.4.450.0100.02215.17
5.4.440.0210.02515.28
5.4.430.0280.01815.00
5.4.420.0110.02814.96
5.4.410.0180.02114.86
5.4.400.0080.02914.97
5.4.390.0280.02714.79
5.4.380.0200.03314.87
5.4.370.0190.03214.59
5.4.360.0230.03114.80
5.4.350.0270.03614.72
5.4.340.0250.02714.67
5.4.330.0030.00310.91
5.4.320.0060.02011.47
5.4.310.0050.02211.75
5.4.300.0040.02211.60
5.4.290.0060.02311.75
5.4.280.0040.02011.58
5.4.270.0060.02011.61
5.4.260.0060.02111.56
5.4.250.0070.02211.65
5.4.240.0120.02611.63
5.4.230.0050.02811.62
5.4.220.0070.02111.57
5.4.210.0020.02411.63
5.4.200.0060.02011.63
5.4.190.0050.01811.53
5.4.180.0050.02111.59
5.4.170.0060.02111.57
5.4.160.0070.02011.64
5.4.150.0050.02011.59
5.4.140.0090.02511.46
5.4.130.0080.01911.47
5.4.120.0020.02211.35
5.4.110.0050.02511.50
5.4.100.0060.02011.30
5.4.90.0050.02211.38
5.4.80.0050.02011.45
5.4.70.0070.02111.30
5.4.60.0030.02311.49
5.4.50.0050.02811.36
5.4.40.0020.02411.32
5.4.30.0050.02311.45
5.4.20.0020.02211.37
5.4.10.0090.01611.48
5.4.00.0020.02311.04
5.3.290.0040.04212.80
5.3.280.0110.04512.71
5.3.270.0070.03612.73
5.3.260.0030.04012.72
5.3.250.0050.03712.72
5.3.240.0130.04612.72
5.3.230.0100.03912.71
5.3.220.0070.04712.68
5.3.210.0090.04212.68
5.3.200.0090.03312.68
5.3.190.0040.03912.67
5.3.180.0050.03612.67
5.3.170.0030.04012.67
5.3.160.0030.03912.67
5.3.150.0040.03912.67
5.3.140.0080.03512.66
5.3.130.0070.04512.66
5.3.120.0060.03712.66
5.3.110.0040.04012.66
5.3.100.0070.03512.12
5.3.90.0060.03712.08
5.3.80.0060.04412.08
5.3.70.0040.03812.07
5.3.60.0060.03612.07
5.3.50.0060.03612.00
5.3.40.0030.04012.00
5.3.30.0080.03211.95
5.3.20.0020.03811.73
5.3.10.0050.03511.70
5.3.00.0060.03511.69
5.2.170.0050.0309.19
5.2.160.0050.0299.19
5.2.150.0040.0309.19
5.2.140.0050.0309.18
5.2.130.0050.0289.14
5.2.120.0060.0269.15
5.2.110.0050.0289.15
5.2.100.0040.0289.15
5.2.90.0050.0279.14
5.2.80.0060.0279.14
5.2.70.0050.0289.14
5.2.60.0020.0329.10
5.2.50.0040.0309.06
5.2.40.0030.0309.04
5.2.30.0070.0269.02
5.2.20.0070.0269.01
5.2.10.0070.0258.93
5.2.00.0030.0308.79
5.1.60.0030.0258.07
5.1.50.0050.0238.07
5.1.40.0040.0248.05
5.1.30.0060.0278.40
5.1.20.0050.0328.43
5.1.10.0020.0278.15
5.1.00.0070.0298.15
5.0.50.0040.0316.63
5.0.40.0040.0236.48
5.0.30.0020.0386.30
5.0.20.0030.0196.27
5.0.10.0050.0226.25
5.0.00.0030.0296.24
4.4.90.0020.0274.78
4.4.80.0050.0244.75
4.4.70.0040.0164.76
4.4.60.0020.0164.75
4.4.50.0020.0154.77
4.4.40.0020.0254.71
4.4.30.0010.0274.75
4.4.20.0010.0224.84
4.4.10.0020.0174.85
4.4.00.0010.0274.75
4.3.110.0050.0134.67
4.3.100.0050.0134.67
4.3.90.0020.0154.63
4.3.80.0010.0264.58
4.3.70.0030.0144.63
4.3.60.0070.0144.63
4.3.50.0030.0204.63
4.3.40.0010.0284.54
4.3.30.0030.0143.29
4.3.20.0040.0153.27
4.3.10.0040.0203.23
4.3.00.0030.01713.25

preferences:
38.65 ms | 400 KiB | 5 Q