3v4l.org

run code in 300+ PHP versions simultaneously
<?php $res='<span style="font-size: 14px;">You are allowed to view <b>30</b> CVs per day. Today you have watched <b>3</b></span> <iframe src="https://docs.google.com/viewer?url=http://files.seaemploy.com/resume/5ee9e75861dc2a8d0ddf4a3b5e05044b.doc&amp;module=files&amp;embedded=true" width="100%" height="100%" style="border: none;"> </iframe>'; preg_match('#watched (\d+)#', strip_tags($res), $match); if(!preg_match('#watched (\d+)#', $res, $match) OR $match[1]>=30) throw new \Exception("Account limit", 2);

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.0120.00817.00
8.3.50.0190.00822.20
8.3.40.0090.00918.96
8.3.30.0090.00619.02
8.3.20.0110.00420.16
8.3.10.0030.00621.65
8.3.00.0040.00419.32
8.2.180.0110.01116.63
8.2.170.0030.01422.96
8.2.160.0110.00720.47
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0000.00819.66
8.2.110.0030.00620.25
8.2.100.0080.00418.16
8.2.90.0060.00319.05
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0000.00817.93
8.2.50.0000.00818.07
8.2.40.0090.00019.95
8.2.30.0040.00417.96
8.2.20.0030.00617.88
8.2.10.0000.00718.22
8.2.00.0070.00017.83
8.1.280.0130.00725.92
8.1.270.0000.00918.92
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0100.00022.05
8.1.230.0060.00619.08
8.1.220.0070.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00717.47
8.1.190.0040.00417.48
8.1.180.0040.00418.10
8.1.170.0040.00418.72
8.1.160.0040.00421.95
8.1.150.0070.00018.83
8.1.140.0030.00519.32
8.1.130.0030.00517.77
8.1.120.0030.00317.61
8.1.110.0030.00517.62
8.1.100.0020.00517.62
8.1.90.0050.00217.67
8.1.80.0040.00417.59
8.1.70.0000.00817.63
8.1.60.0070.00417.73
8.1.50.0040.00417.63
8.1.40.0030.00517.66
8.1.30.0000.00917.79
8.1.20.0070.00317.68
8.1.10.0070.00017.66
8.1.00.0040.00417.52
8.0.300.0000.00818.77
8.0.290.0030.00616.88
8.0.280.0030.00418.48
8.0.270.0030.00317.27
8.0.260.0030.00317.19
8.0.250.0030.00317.18
8.0.240.0040.00417.13
8.0.230.0030.00317.11
8.0.220.0040.00417.08
8.0.210.0070.00016.97
8.0.200.0040.00417.20
8.0.190.0040.00417.12
8.0.180.0070.00017.04
8.0.170.0000.00817.02
8.0.160.0040.00417.21
8.0.150.0000.00716.98
8.0.140.0020.00517.12
8.0.130.0030.00313.57
8.0.120.0040.00417.05
8.0.110.0070.00017.02
8.0.100.0070.00016.99
8.0.90.0040.00417.06
8.0.80.0070.01117.13
8.0.70.0000.00717.07
8.0.60.0000.00717.01
8.0.50.0030.00517.08
8.0.30.0130.00717.39
8.0.20.0080.01417.42
8.0.10.0000.00717.14
8.0.00.0100.01017.19
7.4.330.0050.00015.03
7.4.320.0060.00016.73
7.4.300.0040.00416.82
7.4.290.0000.00716.70
7.4.280.0070.00016.72
7.4.270.0000.00716.72
7.4.260.0030.00616.71
7.4.250.0000.00816.78
7.4.240.0040.00316.73
7.4.230.0040.00416.75
7.4.220.0150.00916.81
7.4.210.0100.00316.89
7.4.200.0040.00416.63
7.4.160.0100.01016.68
7.4.150.0100.01017.40
7.4.140.0070.01217.86
7.4.130.0090.01016.81
7.4.120.0060.01216.71
7.4.110.0090.01316.80
7.4.100.0070.01116.69
7.4.90.0070.01116.72
7.4.80.0070.01019.39
7.4.70.0100.00716.84
7.4.60.0100.00716.70
7.4.50.0040.00016.87
7.4.40.0060.01016.90
7.4.30.0100.01016.82
7.4.00.0070.00915.19
7.3.330.0050.00013.21
7.3.320.0050.00013.25
7.3.310.0000.00716.28
7.3.300.0030.00316.25
7.3.290.0060.01016.39
7.3.280.0110.00616.48
7.3.270.0100.01017.40
7.3.260.0140.00316.74
7.3.250.0110.00616.57
7.3.240.0150.00416.72
7.3.230.0070.01316.54
7.3.210.0070.01116.56
7.3.200.0090.00919.39
7.3.190.0170.00016.55
7.3.180.0130.00316.64
7.3.170.0130.00716.45
7.3.160.0040.01116.43
7.3.120.0100.00315.13
7.3.110.0120.00615.20
7.3.100.0110.00415.16
7.3.90.0060.00314.89
7.3.80.0060.00615.19
7.3.70.0110.00314.98
7.3.60.0060.00915.08
7.3.50.0000.01215.05
7.3.40.0030.00914.72
7.3.30.0040.01115.02
7.3.20.0030.00616.81
7.3.10.0080.00816.68
7.3.00.0030.01016.73
7.2.330.0140.00516.75
7.2.320.0230.00316.76
7.2.310.0040.01416.73
7.2.300.0130.01016.66
7.2.290.0140.00316.89
7.2.250.0070.01015.40
7.2.240.0040.01415.26
7.2.230.0100.00714.87
7.2.220.0100.00615.08
7.2.210.0110.00415.09
7.2.200.0110.00015.10
7.2.190.0030.00615.21
7.2.180.0040.01115.09
7.2.170.0060.00615.28
7.2.60.0130.00016.94
7.2.00.0080.00419.29
7.1.330.0060.01215.98
7.1.320.0060.00616.19
7.1.310.0000.01515.78
7.1.300.0100.00315.91
7.1.290.0040.01116.03
7.1.280.0070.00715.84
7.1.270.0040.01215.77
7.1.260.0040.00815.86
7.1.200.0000.01415.88
7.1.100.0070.00418.02
7.1.70.0040.00417.23
7.1.60.0090.01519.46
7.1.50.0220.00417.24
7.1.00.0100.07022.43
7.0.200.0220.00314.94
7.0.140.0000.06321.95
7.0.60.0100.03319.84
7.0.50.0170.06317.93
7.0.40.0030.04320.17
7.0.30.0270.03320.19
7.0.20.0230.07320.05
7.0.10.0070.09320.18
7.0.00.0000.07320.14
5.6.280.0030.07320.98
5.6.210.0070.07720.74
5.6.200.0030.04018.19
5.6.190.0070.05720.41
5.6.180.0470.04320.61
5.6.170.0200.08720.61
5.6.160.0070.07720.54
5.6.150.0070.03718.18
5.6.140.0030.05318.14
5.6.130.0130.07018.11
5.6.120.0070.08721.11
5.6.110.0170.07021.00
5.6.100.0070.05020.98
5.6.90.0070.04720.94
5.6.80.0070.08320.43
5.5.350.0200.06720.39
5.5.340.0000.07317.95
5.5.330.0100.03720.21
5.5.320.0170.07020.30
5.5.310.0230.05020.34
5.5.300.0170.07018.05
5.5.290.0100.05318.08
5.5.280.0070.03720.96
5.5.270.0070.03720.87
5.5.260.0030.04320.79
5.5.250.0070.07020.54
5.5.240.0030.07720.14
5.4.450.0100.06319.62
5.4.440.0770.05019.55
5.4.430.0270.03719.42
5.4.420.0130.05019.63
5.4.410.0200.05719.02
5.4.400.0100.05318.74
5.4.390.0330.04318.74
5.4.380.1130.06718.77
5.4.370.0200.05718.73
5.4.360.1730.06018.75
5.4.350.0300.07018.63
5.4.340.0970.04718.72
5.4.320.0230.05318.45
5.4.310.0230.05718.68
5.4.300.1000.05018.59
5.4.290.0400.03018.83
5.4.280.0830.05318.76
5.4.270.0270.06318.88
5.4.260.1230.08018.54
5.4.250.0100.06318.82
5.4.240.0870.05718.52
5.4.230.0170.05318.77
5.4.220.0970.05318.54
5.4.210.0230.04718.59
5.4.200.0970.05316.55
5.4.190.0300.04318.66
5.4.180.0270.05018.76
5.4.170.0970.05018.44
5.4.160.0270.05018.72
5.4.150.0800.06318.75
5.4.140.0270.05016.27
5.4.130.0900.05716.29
5.4.120.0300.05016.21
5.4.110.0830.05316.27
5.4.100.0100.06316.44
5.4.90.0900.05716.27
5.4.80.0230.05016.19
5.4.70.0970.05016.28
5.4.60.0230.04316.20
5.4.50.0130.06016.14
5.4.40.1000.03716.21
5.4.30.0270.04316.17
5.4.20.0900.06316.24
5.4.10.0230.06316.27
5.4.00.0800.05315.74
5.3.290.0170.06014.84
5.3.280.1070.06014.62
5.3.270.0130.06014.61
5.3.260.0170.07014.70
5.3.250.0870.06014.78
5.3.240.0370.03714.79
5.3.230.1030.04714.86
5.3.220.0170.05714.66
5.3.210.0830.06714.66
5.3.200.0400.03714.57
5.3.190.0870.06014.83
5.3.180.0330.05714.57
5.3.170.1270.08314.55
5.3.160.0270.05014.59
5.3.150.0200.06014.82
5.3.140.0930.06014.56
5.3.130.0130.06014.58
5.3.120.0930.07014.51
5.3.110.0170.06014.57
5.3.100.0930.05714.18
5.3.90.0130.05713.98
5.3.80.1200.05714.03
5.3.70.0230.05314.06
5.3.60.1070.05014.00
5.3.50.0200.05314.13
5.3.40.0130.06014.02
5.3.30.1000.05013.95
5.3.20.0230.05013.82
5.3.10.0930.05713.84
5.3.00.0130.05713.78
5.2.170.0070.05311.18
5.2.160.0930.04011.14
5.2.150.0170.05011.33
5.2.140.0770.05011.17
5.2.130.0130.04711.36
5.2.120.0100.04311.36
5.2.110.0870.04011.37
5.2.100.0170.04011.07
5.2.90.0830.04011.19
5.2.80.0230.03311.13
5.2.70.0170.04311.10
5.2.60.0830.04711.06
5.2.50.0270.03311.20
5.2.40.0100.05011.04
5.2.30.1000.03311.16
5.2.20.0200.04311.10
5.2.10.0130.04310.89
5.2.00.1000.04010.89
5.1.60.0170.03010.01
5.1.50.0230.0339.98
5.1.40.0900.04010.08
5.1.30.0270.04010.46
5.1.20.0170.03710.38
5.1.10.1270.03310.06
5.1.00.0070.04310.24
5.0.50.0100.0338.73
5.0.40.0100.0308.60
5.0.30.0830.0478.23
5.0.20.0070.0378.21
5.0.10.0070.0338.20
5.0.00.0070.0508.15
4.4.90.0030.0276.75
4.4.80.0900.0176.75
4.4.70.0100.0236.75
4.4.60.0100.0206.75
4.4.50.0070.0206.75
4.4.40.0030.0406.75
4.4.30.0100.0206.75
4.4.20.0970.0176.75
4.4.10.0130.0176.75
4.4.00.0070.0376.75
4.3.110.0100.0206.75
4.3.100.0070.0236.75
4.3.90.0070.0206.75
4.3.80.0000.0406.75
4.3.70.0130.0136.75
4.3.60.0230.0206.75
4.3.50.0000.0276.75
4.3.40.0900.0336.75
4.3.30.0070.0206.75
4.3.20.0070.0206.75
4.3.10.0130.0136.75
4.3.00.0000.0236.76

preferences:
61.13 ms | 401 KiB | 5 Q