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); var_dump($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.0110.00816.49
8.3.50.0050.01322.07
8.3.40.0140.00418.79
8.3.30.0080.00819.07
8.3.20.0110.00320.02
8.3.10.0040.00421.91
8.3.00.0040.00419.18
8.2.180.0110.00718.41
8.2.170.0140.00422.96
8.2.160.0070.00720.57
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0040.00419.42
8.2.110.0040.00420.35
8.2.100.0040.00817.84
8.2.90.0040.00419.13
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0050.00317.68
8.2.50.0000.00918.07
8.2.40.0040.00419.94
8.2.30.0000.00717.90
8.2.20.0040.00417.79
8.2.10.0080.00017.96
8.2.00.0000.00717.64
8.1.280.0140.00325.92
8.1.270.0040.00418.88
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.00922.00
8.1.230.0080.00422.23
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.48
8.1.190.0060.00317.25
8.1.180.0060.00318.10
8.1.170.0080.00018.58
8.1.160.0030.00521.98
8.1.150.0080.00018.76
8.1.140.0000.00819.29
8.1.130.0000.00817.78
8.1.120.0080.00017.62
8.1.110.0040.00417.62
8.1.100.0030.00517.45
8.1.90.0040.00417.58
8.1.80.0020.00517.56
8.1.70.0000.00717.41
8.1.60.0030.00717.60
8.1.50.0040.00417.61
8.1.40.0030.00617.49
8.1.30.0040.00417.68
8.1.20.0060.00617.77
8.1.10.0040.00417.57
8.1.00.0040.00417.59
8.0.300.0000.00818.77
8.0.290.0000.00716.88
8.0.280.0000.00818.32
8.0.270.0030.00317.18
8.0.260.0000.00617.27
8.0.250.0030.00316.93
8.0.240.0070.00016.97
8.0.230.0070.00017.08
8.0.220.0000.00716.92
8.0.210.0000.00816.89
8.0.200.0060.00316.91
8.0.190.0070.00016.93
8.0.180.0000.00716.93
8.0.170.0000.00716.90
8.0.160.0050.00317.01
8.0.150.0070.00016.81
8.0.140.0070.00016.98
8.0.130.0030.00313.49
8.0.120.0030.00616.92
8.0.110.0040.00416.96
8.0.100.0070.00016.77
8.0.90.0000.00716.84
8.0.80.0030.01316.94
8.0.70.0040.00416.93
8.0.60.0000.00816.88
8.0.50.0020.00517.02
8.0.30.0130.00717.12
8.0.20.0110.00817.41
8.0.10.0000.00817.11
8.0.00.0100.00716.67
7.4.330.0020.00215.03
7.4.320.0060.00016.70
7.4.300.0000.00816.68
7.4.290.0070.00016.73
7.4.280.0040.00416.63
7.4.270.0000.00716.76
7.4.260.0070.00316.53
7.4.250.0060.00316.63
7.4.240.0020.00516.62
7.4.230.0000.00816.68
7.4.220.0070.01016.70
7.4.210.0070.00716.61
7.4.200.0070.00016.77
7.4.160.0120.00916.41
7.4.150.0190.00617.40
7.4.140.0080.01017.86
7.4.130.0110.00616.57
7.4.120.0160.00116.63
7.4.110.0090.00916.47
7.4.100.0120.00616.89
7.4.90.0060.01116.84
7.4.80.0110.00719.39
7.4.70.0080.00816.55
7.4.60.0100.01016.76
7.4.50.0050.00516.27
7.4.40.0090.01316.64
7.4.30.0130.01016.49
7.4.00.0070.01015.04
7.3.330.0050.00013.22
7.3.320.0000.00613.27
7.3.310.0000.00716.16
7.3.300.0070.00016.20
7.3.290.0060.01016.29
7.3.280.0090.00916.30
7.3.270.0110.00517.40
7.3.260.0130.00316.30
7.3.250.0110.00616.52
7.3.240.0110.01116.61
7.3.230.0130.01016.39
7.3.210.0120.00816.46
7.3.200.0160.00319.39
7.3.190.0150.00316.50
7.3.180.0000.01516.58
7.3.170.0050.01116.46
7.3.160.0040.01116.34
7.3.120.0060.01314.77
7.3.110.0040.01114.69
7.3.100.0080.00814.96
7.3.90.0070.00715.03
7.3.80.0000.00914.79
7.3.70.0060.00914.93
7.3.60.0090.00614.87
7.3.50.0100.00014.68
7.3.40.0060.01014.84
7.3.30.0070.01114.82
7.3.20.0070.00316.74
7.3.10.0080.00416.68
7.3.00.0000.01016.89
7.2.330.0030.01316.58
7.2.320.0090.01616.63
7.2.310.0150.00316.73
7.2.300.0160.00916.52
7.2.290.0130.00616.41
7.2.250.0100.00615.08
7.2.240.0130.00314.90
7.2.230.0070.01114.82
7.2.220.0060.00315.23
7.2.210.0000.00915.03
7.2.200.0030.01314.74
7.2.190.0060.00915.14
7.2.180.0030.00714.98
7.2.170.0100.01014.86
7.2.00.0000.00919.68
7.1.330.0060.00615.85
7.1.320.0000.01215.68
7.1.310.0080.00415.91
7.1.300.0030.01015.91
7.1.290.0030.01015.85
7.1.280.0040.01415.80
7.1.270.0040.01115.65
7.1.260.0030.00615.86
7.1.100.0060.00818.07
7.1.70.0030.00517.16
7.1.60.0150.00919.46
7.1.50.0060.01616.83
7.1.00.0070.07322.46
7.0.200.0230.00314.82
7.0.140.0030.07722.06
7.0.60.0030.04719.95
7.0.50.0100.05017.83
7.0.40.0100.05320.06
7.0.30.0530.07720.02
7.0.20.0330.07720.21
7.0.10.0100.08720.11
7.0.00.0100.08720.18
5.6.280.0070.07320.90
5.6.210.0130.06020.50
5.6.200.0030.04718.18
5.6.190.0030.08720.57
5.6.180.0570.07720.60
5.6.170.0170.05020.42
5.6.160.0030.07720.43
5.6.150.0100.08018.18
5.6.140.0170.07318.16
5.6.130.0100.07018.17
5.6.120.0100.06020.86
5.6.110.0030.08320.90
5.6.100.0030.09021.03
5.6.90.0100.08320.95
5.6.80.0070.06320.52
5.5.350.0230.08020.52
5.5.340.0030.04317.88
5.5.330.0070.08320.30
5.5.320.0370.07320.13
5.5.310.0330.06320.20
5.5.300.0030.05018.01
5.5.290.0000.05318.03
5.5.280.0070.08320.76
5.5.270.0070.08320.85
5.5.260.0070.08020.79
5.5.250.0070.08020.60
5.5.240.0030.03320.25
5.4.450.0100.06719.48
5.4.440.0570.05319.50
5.4.430.0100.05719.48
5.4.420.0170.05019.62
5.4.410.0170.06019.19
5.4.400.0100.05719.17
5.4.390.0300.04718.49
5.4.380.0200.06718.77
5.4.370.0300.04718.52
5.4.360.0200.05718.49
5.4.350.0270.05718.66
5.4.340.0270.05318.60
5.4.320.0270.05318.67
5.4.310.0270.05018.44
5.4.300.0200.06018.62
5.4.290.0400.05318.60
5.4.280.0270.06718.57
5.4.270.0400.04718.77
5.4.260.0200.05718.52
5.4.250.0200.06018.59
5.4.240.0300.05318.77
5.4.230.0270.05018.46
5.4.220.0100.07018.75
5.4.210.0300.04718.47
5.4.200.0170.05716.48
5.4.190.0330.04018.62
5.4.180.0230.05718.44
5.4.170.0300.06718.44
5.4.160.0230.06718.54
5.4.150.0230.06318.66
5.4.140.0200.06716.09
5.4.130.0100.06016.16
5.4.120.0230.05316.22
5.4.110.0130.05316.33
5.4.100.0170.05316.18
5.4.90.0170.05716.07
5.4.80.0170.05716.26
5.4.70.0170.05716.31
5.4.60.0070.06016.04
5.4.50.0230.04316.20
5.4.40.0170.05316.09
5.4.30.0100.06016.09
5.4.20.0130.06016.16
5.4.10.0170.05316.21
5.4.00.0230.04715.79
5.3.290.0270.04714.73
5.3.280.0130.05714.50
5.3.270.0100.07014.57
5.3.260.0170.05714.57
5.3.250.0170.05714.74
5.3.240.0170.05314.66
5.3.230.0170.06014.64
5.3.220.0130.05314.49
5.3.210.0300.04014.49
5.3.200.0130.05714.46
5.3.190.0170.05314.52
5.3.180.0230.06014.51
5.3.170.0100.06014.50
5.3.160.0170.05314.46
5.3.150.0170.05714.53
5.3.140.0270.04314.59
5.3.130.0200.05314.52
5.3.120.0200.05314.61
5.3.110.0130.05714.53
5.3.100.0270.05014.02
5.3.90.0200.05014.16
5.3.80.0230.05314.00
5.3.70.0230.05313.99
5.3.60.0230.04713.93
5.3.50.0200.05713.91
5.3.40.0230.06014.03
5.3.30.0170.06713.89
5.3.20.0130.06313.72
5.3.10.0170.06013.61
5.3.00.0230.05313.61
5.2.170.0170.05311.19
5.2.160.0200.05011.27
5.2.150.0270.03711.20
5.2.140.0270.03311.17
5.2.130.0200.04011.13
5.2.120.0170.03711.00
5.2.110.0230.03711.07
5.2.100.0130.04311.05
5.2.90.0130.04011.23
5.2.80.0200.03711.14
5.2.70.0130.04311.13
5.2.60.0170.04711.01
5.2.50.0200.04311.08
5.2.40.0130.04010.97
5.2.30.0100.04311.01
5.2.20.0170.04011.09
5.2.10.0030.04710.82
5.2.00.0100.04310.83
5.1.60.0170.03010.05
5.1.50.0170.03010.00
5.1.40.0200.03310.01
5.1.30.0170.04010.45
5.1.20.0100.04010.39
5.1.10.0200.03710.13
5.1.00.0100.04010.08
5.0.50.0030.0338.61
5.0.40.0100.0278.53
5.0.30.0130.0378.18
5.0.20.0070.0308.20
5.0.10.0070.0308.34
5.0.00.0100.0408.29
4.4.90.0100.0206.75
4.4.80.0070.0236.75
4.4.70.0100.0236.75
4.4.60.0070.0236.75
4.4.50.0070.0236.75
4.4.40.0100.0336.75
4.4.30.0000.0306.75
4.4.20.0170.0206.75
4.4.10.0070.0236.75
4.4.00.0170.0306.75
4.3.110.0070.0236.75
4.3.100.0070.0206.75
4.3.90.0070.0236.75
4.3.80.0100.0336.75
4.3.70.0100.0236.75
4.3.60.0130.0236.75
4.3.50.0100.0306.75
4.3.40.0100.0406.75
4.3.30.0000.0376.75
4.3.20.0070.0206.75
4.3.10.0070.0276.75
4.3.00.0030.0239.24

preferences:
43.58 ms | 401 KiB | 5 Q