3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test($html) { $matched = preg_match('/<meta[^>]*name=[^>]*viewport[^>]*>/', $html, $matches); if (!$matched) { return false; } if (preg_match('/(user-scalable=(0|no)|scale)/', $matches[0])) { // 95% of the time this indicates true mobile compatibility (cf SYS-1289) return true; } if (preg_match('/width=(\d{2}|[7-9])\d{2}/')) { // Specifying a width of other 700px, doesn't sound very mobile compatible (cf SYS-1289) return false; } // At this point some websites are mobile compatible, others aren't, so we'll just go with the most likely return true; } var_dump(test('<meta content="width=1024" name="viewport"/>'));

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.0150.00018.55
8.3.50.0150.00321.98
8.3.40.0110.01119.05
8.3.30.0130.00318.92
8.3.20.0060.00319.02
8.3.10.0040.00421.09
8.3.00.0030.00621.90
8.2.180.0120.00317.13
8.2.170.0090.00622.96
8.2.160.0070.00720.52
8.2.150.0000.01524.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0070.00021.06
8.2.110.0060.00320.89
8.2.100.0040.00818.03
8.2.90.0000.00819.34
8.2.80.0050.00317.97
8.2.70.0030.00717.88
8.2.60.0050.00318.04
8.2.50.0030.00618.07
8.2.40.0040.00418.16
8.2.30.0040.00419.40
8.2.20.0040.00417.82
8.2.10.0080.00017.91
8.2.00.0030.00718.02
8.1.280.0090.00925.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.01221.99
8.1.230.0070.00420.95
8.1.220.0040.00418.77
8.1.210.0040.00418.88
8.1.200.0060.00317.38
8.1.190.0060.00317.53
8.1.180.0080.00018.10
8.1.170.0040.00418.83
8.1.160.0000.00718.86
8.1.150.0040.00418.68
8.1.140.0040.00417.52
8.1.130.0000.00717.91
8.1.120.0050.00317.56
8.1.110.0030.00517.62
8.1.100.0050.00317.64
8.1.90.0000.00717.66
8.1.80.0030.00517.59
8.1.70.0000.00817.62
8.1.60.0040.00417.64
8.1.50.0040.00417.62
8.1.40.0000.00817.63
8.1.30.0050.00217.85
8.1.20.0040.00417.84
8.1.10.0060.00317.77
8.1.00.0040.00717.71
8.0.300.0040.00420.02
8.0.290.0070.00017.18
8.0.280.0050.00318.39
8.0.270.0000.00717.29
8.0.260.0030.00317.08
8.0.250.0070.00017.22
8.0.240.0000.00817.09
8.0.230.0040.00417.21
8.0.220.0030.00517.13
8.0.210.0030.00317.16
8.0.200.0060.00017.24
8.0.190.0040.00417.06
8.0.180.0040.00417.14
8.0.170.0040.00417.10
8.0.160.0040.00417.03
8.0.150.0030.00516.94
8.0.140.0040.00416.96
8.0.130.0000.00613.55
8.0.120.0000.00816.97
8.0.110.0000.00716.99
8.0.100.0040.00416.99
8.0.90.0040.00417.11
8.0.80.0090.00616.99
8.0.70.0040.00417.07
8.0.60.0000.00816.89
8.0.50.0070.00016.94
8.0.30.0100.01017.26
8.0.20.0110.00917.51
8.0.10.0000.00817.17
8.0.00.0070.01017.14
7.4.330.0000.00516.79
7.4.320.0060.00016.62
7.4.300.0070.00016.71
7.4.290.0040.00416.73
7.4.280.0020.00516.84
7.4.270.0030.00316.72
7.4.260.0030.00313.44
7.4.250.0080.00016.79
7.4.240.0030.00316.87
7.4.230.0000.00716.89
7.4.220.0150.00616.57
7.4.210.0080.00816.78
7.4.200.0040.00416.89
7.4.190.0030.00316.89
7.4.160.0100.01316.73
7.4.150.0110.00717.40
7.4.140.0090.00817.86
7.4.130.0120.01216.79
7.4.120.0150.00516.69
7.4.110.0090.00616.75
7.4.100.0110.00916.82
7.4.90.0070.01016.94
7.4.80.0130.00319.39
7.4.70.0040.01316.81
7.4.60.0090.00916.61
7.4.50.0000.00816.63
7.4.40.0000.00922.77
7.4.30.0060.01316.77
7.4.10.0060.01215.33
7.4.00.0080.00915.25
7.3.330.0030.00313.55
7.3.320.0050.00013.51
7.3.310.0030.00316.41
7.3.300.0000.00716.34
7.3.290.0060.00916.51
7.3.280.0100.00716.51
7.3.270.0030.01417.40
7.3.260.0080.01218.24
7.3.250.0130.00716.45
7.3.240.0070.01016.44
7.3.230.0130.00316.64
7.3.210.0060.00916.47
7.3.200.0050.01419.39
7.3.190.0100.00716.54
7.3.180.0070.01016.71
7.3.170.0070.00916.47
7.3.160.0110.00716.59
7.3.130.0040.01115.18
7.3.120.0080.00915.19
7.3.110.0060.00914.59
7.3.100.0030.01315.04
7.3.90.0070.01115.09
7.3.80.0090.00614.85
7.3.70.0060.00915.11
7.3.60.0060.00614.94
7.3.50.0030.01214.83
7.3.40.0070.00715.07
7.3.30.0060.00314.82
7.3.20.0040.01217.04
7.3.10.0100.00316.88
7.3.00.0060.00616.92
7.2.330.0100.00717.05
7.2.320.0060.01216.75
7.2.310.0130.01016.75
7.2.300.0170.00016.59
7.2.290.0100.00816.91
7.2.260.0050.01315.19
7.2.250.0070.01115.24
7.2.240.0040.01115.18
7.2.230.0040.01415.34
7.2.220.0070.00715.48
7.2.210.0130.00315.49
7.2.200.0000.01414.85
7.2.190.0000.01114.88
7.2.180.0060.00915.37
7.2.170.0030.01015.09
7.2.160.0040.00715.17
7.2.150.0080.00817.05
7.2.140.0060.00617.05
7.2.130.0050.00516.89
7.2.120.0080.01016.87
7.2.110.0050.00717.02
7.2.100.0050.00616.92
7.2.90.0050.01016.90
7.2.80.0050.01217.02
7.2.70.0090.00316.90
7.2.60.0060.00616.83
7.2.50.0050.01017.09
7.2.40.0030.00817.23
7.2.30.0020.01017.16
7.2.20.0050.00717.03
7.2.10.0050.00816.99
7.2.00.0050.00816.97
7.1.330.0130.00316.01
7.1.320.0030.00715.63
7.1.310.0030.01015.93
7.1.300.0040.00716.07
7.1.290.0040.01116.09
7.1.280.0030.01415.81
7.1.270.0080.00815.73
7.1.260.0030.01015.98
7.1.250.0070.00515.92
7.1.240.0080.00715.93
7.1.230.0040.01015.83
7.1.220.0070.00315.92
7.1.210.0030.00816.09
7.1.200.0060.00716.01
7.1.190.0070.00715.97
7.1.180.0050.01015.89
7.1.170.0020.01015.87
7.1.160.0070.00815.82
7.1.150.0020.01015.91
7.1.140.0050.00715.86
7.1.130.0080.00516.06
7.1.120.0050.00815.95
7.1.110.0050.00516.04
7.1.100.0030.00915.99
7.1.90.0060.00715.97
7.1.80.0060.00515.95
7.1.70.0070.00316.56
7.1.60.0120.00617.02
7.1.50.0100.00922.25
7.1.40.0040.00716.04
7.1.30.0050.00915.93
7.1.20.0040.00815.97
7.1.10.0050.00616.10
7.1.00.0040.01718.16
7.0.330.0100.00415.58
7.0.320.0040.00915.46
7.0.310.0080.00815.46
7.0.300.0060.00715.65
7.0.290.0070.00515.37
7.0.280.0010.01015.48
7.0.270.0050.00815.60
7.0.260.0020.00915.55
7.0.250.0040.00715.52
7.0.240.0070.00615.60
7.0.230.0030.01015.49
7.0.220.0050.00515.66
7.0.210.0030.00815.46
7.0.200.0060.00615.95
7.0.190.0020.00715.58
7.0.180.0050.00515.65
7.0.170.0040.00615.65
7.0.160.0100.00315.43
7.0.150.0050.00615.39
7.0.140.0080.02417.80
7.0.130.0030.01115.50
7.0.120.0020.00915.54
7.0.110.0000.01015.48
7.0.100.0070.03216.90
7.0.90.0030.02216.98
7.0.80.0080.02017.11
7.0.70.0130.02217.04
7.0.60.0140.02816.97
7.0.50.0090.02617.19
7.0.40.0050.02215.78
7.0.30.0070.02515.83
7.0.20.0070.02315.73
7.0.10.0040.03115.66
7.0.00.0070.02715.79
5.6.400.0060.00614.78
5.6.390.0060.00614.66
5.6.380.0070.00514.43
5.6.370.0060.00414.17
5.6.360.0060.00614.16
5.6.350.0050.00614.42
5.6.340.0020.01214.55
5.6.330.0050.00814.51
5.6.320.0040.00914.60
5.6.310.0050.00514.43
5.6.300.0050.00714.42
5.6.290.0030.00914.71
5.6.280.0090.02616.65
5.6.270.0030.00814.61
5.6.260.0050.00514.46
5.6.250.0080.03016.53
5.6.240.0060.03316.31
5.6.230.0080.02816.53
5.6.220.0070.02216.43
5.6.210.0070.01716.52
5.6.200.0080.02116.68
5.6.190.0040.02416.69
5.6.180.0050.03116.46
5.6.170.0020.02516.70
5.6.160.0060.02116.50
5.6.150.0050.02416.59
5.6.140.0020.02416.48
5.6.130.0020.02416.67
5.6.120.0060.03116.62
5.6.110.0060.02316.36
5.6.100.0030.03616.57
5.6.90.0060.02816.57
5.6.80.0050.02716.46
5.6.70.0040.03116.47
5.6.60.0080.03016.33
5.6.50.0070.02916.38
5.6.40.0060.01816.54
5.6.30.0070.02816.27
5.6.20.0040.02216.41
5.6.10.0080.02316.30
5.6.00.0040.03316.45
5.5.380.0090.01515.47
5.5.370.0070.01815.26
5.5.360.0090.03015.39
5.5.350.0040.02715.33
5.5.340.0070.02115.49
5.5.330.0060.02815.48
5.5.320.0110.01515.38
5.5.310.0050.03015.45
5.5.300.0060.02015.18
5.5.290.0090.02615.36
5.5.280.0040.03215.51
5.5.270.0030.02315.37
5.5.260.0050.01715.25
5.5.250.0060.02515.39
5.5.240.0050.02415.10
5.5.230.0030.02215.19
5.5.220.0030.02915.19
5.5.210.0110.02415.11
5.5.200.0060.01715.10
5.5.190.0080.02215.27
5.5.180.0060.01915.13
5.5.170.0040.00712.86
5.5.160.0060.02415.29
5.5.150.0030.01815.24
5.5.140.0080.01915.30
5.5.130.0040.01615.16
5.5.120.0090.01015.29
5.5.110.0070.01615.10
5.5.100.0070.01215.23
5.5.90.0080.01314.96
5.5.80.0030.01915.05
5.5.70.0030.01915.03
5.5.60.0050.01615.16
5.5.50.0050.01615.02
5.5.40.0060.01915.10
5.5.30.0030.03115.10
5.5.20.0050.01815.05
5.5.10.0090.01415.25
5.5.00.0020.01715.07
5.4.450.0070.01714.11
5.4.440.0050.03114.37
5.4.430.0030.02014.26
5.4.420.0070.01714.30
5.4.410.0060.02914.28
5.4.400.0060.02514.06
5.4.390.0020.01714.13
5.4.380.0060.01614.07
5.4.370.0060.02314.07
5.4.360.0060.01814.09
5.4.350.0060.02214.19
5.4.340.0010.02214.20
5.4.330.0030.00911.59
5.4.320.0030.02214.15
5.4.310.0040.01614.07
5.4.300.0040.01514.04
5.4.290.0070.01414.07
5.4.280.0000.01714.15
5.4.270.0020.01614.02
5.4.260.0050.01614.01
5.4.250.0010.02214.06
5.4.240.0030.01514.20
5.4.230.0050.01713.91
5.4.220.0020.01714.10
5.4.210.0040.01414.03
5.4.200.0070.01514.16
5.4.190.0050.02514.09
5.4.180.0020.01714.07
5.4.170.0010.01814.22
5.4.160.0010.01614.08
5.4.150.0040.01814.10
5.4.140.0010.01713.34
5.4.130.0050.01513.24
5.4.120.0010.02213.24
5.4.110.0030.01713.15
5.4.100.0040.01413.29
5.4.90.0020.01613.17
5.4.80.0030.01613.29
5.4.70.0030.01413.22
5.4.60.0040.01813.17
5.4.50.0000.01613.07
5.4.40.0050.01413.25
5.4.30.0050.01513.29
5.4.20.0030.01513.16
5.4.10.0000.01913.25
5.4.00.0020.01513.09
5.3.290.0030.01912.58
5.3.280.0030.01712.49
5.3.270.0030.02312.44
5.3.260.0040.01812.52
5.3.250.0020.01712.51
5.3.240.0050.01412.42
5.3.230.0030.01512.51
5.3.220.0040.01812.55
5.3.210.0070.01212.52
5.3.200.0030.01512.47
5.3.190.0030.01512.54
5.3.180.0050.01812.56
5.3.170.0040.01612.46
5.3.160.0030.01412.56
5.3.150.0040.01512.54
5.3.140.0020.01812.60
5.3.130.0070.01412.43
5.3.120.0030.01512.52
5.3.110.0030.01512.49
5.3.100.0020.01712.32
5.3.90.0030.01512.25
5.3.80.0040.02412.26
5.3.70.0040.01412.19
5.3.60.0050.01712.36
5.3.50.0030.01712.31
5.3.40.0020.01812.33
5.3.30.0060.01612.23
5.3.20.0030.01812.12
5.3.10.0020.01612.09
5.3.00.0020.01612.06
5.2.170.0000.01910.51
5.2.160.0020.01710.49
5.2.150.0060.02710.51
5.2.140.0050.03210.60
5.2.130.0030.01510.59
5.2.120.0020.01810.48
5.2.110.0060.01410.52
5.2.100.0000.01910.53
5.2.90.0020.01710.47
5.2.80.0020.01610.57
5.2.70.0080.01110.54
5.2.60.0030.01810.51
5.2.50.0030.01810.51
5.2.40.0080.01510.53
5.2.30.0050.01510.52
5.2.20.0030.01810.47
5.2.10.0070.02510.41
5.2.00.0060.03110.35
5.1.60.0040.02810.02
5.1.50.0050.0169.92
5.1.40.0060.02010.01
5.1.30.0040.02810.10
5.1.20.0020.01710.10
5.1.10.0020.02710.04
5.1.00.0040.03110.01
5.0.50.0020.0159.52
5.0.40.0030.0199.52
5.0.30.0030.0219.52
5.0.20.0050.0159.52
5.0.10.0070.0209.52
5.0.00.0020.0239.52
4.4.90.0030.0079.52
4.4.80.0030.0109.52
4.4.70.0000.0129.52
4.4.60.0030.0209.52
4.4.50.0030.0199.52
4.4.40.0000.0159.52
4.4.30.0000.0219.52
4.4.20.0050.0159.52
4.4.10.0030.0209.52
4.4.00.0050.0259.52
4.3.110.0020.0169.52
4.3.100.0000.0129.52
4.3.90.0040.0109.52
4.3.80.0020.0309.52
4.3.70.0030.0119.52
4.3.60.0030.0179.52
4.3.50.0030.0139.52
4.3.40.0020.0259.52
4.3.30.0000.0129.52
4.3.20.0050.0169.52
4.3.10.0020.0199.52
4.3.00.0030.0189.52

preferences:
46.95 ms | 401 KiB | 5 Q