3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = '<div class="filetitle"> <h1> Feralna noc 2014Lektor Pl avi480p.avi</h1> </div> <div class="description"> video/avi</div> </div> <div class="fileinfo"> <a href="javascript:void0" onclick="comments.getCommentsfile 512505"><div class="rate" rate="0" maxrate="5" ratesnumber="0" commentsnumber="0"></div></a> Dodano: <span>20140603 10:06</span><br /> Wielko: <span>1.4 GB</span><br /> Ilo pobra: <span>238</span><br />'; $regexp = '/filetitle\"\>[\s]*\<h1\>[\s]*([^<]+)\<\/h1\>[^@]+\: \<span\>([0-9\,]{1,8}) GB\<\/span\>/'; if (preg_match($regexp, $test, $result2)) { print "Working\n"; } else { print "Not working\n"; } ?>

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.0040.01116.88
8.3.50.0100.00822.05
8.3.40.0140.00719.02
8.3.30.0070.00719.00
8.3.20.0050.00320.29
8.3.10.0040.00423.48
8.3.00.0040.00419.56
8.2.180.0110.00716.75
8.2.170.0000.01422.96
8.2.160.0030.01120.32
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0050.00321.18
8.2.110.0060.00320.52
8.2.100.0090.00317.84
8.2.90.0080.00319.05
8.2.80.0030.00517.97
8.2.70.0000.00817.88
8.2.60.0000.00817.93
8.2.50.0000.00818.10
8.2.40.0050.00322.14
8.2.30.0000.00718.18
8.2.20.0070.00017.70
8.2.10.0000.00818.07
8.2.00.0050.00317.85
8.1.280.0090.00925.92
8.1.270.0080.00023.75
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0070.00423.69
8.1.230.0000.01220.90
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0030.00717.35
8.1.180.0000.00818.10
8.1.170.0040.00418.56
8.1.160.0030.00621.91
8.1.150.0050.00218.78
8.1.140.0040.00417.69
8.1.130.0070.00017.77
8.1.120.0080.00017.62
8.1.110.0030.00517.50
8.1.100.0040.00417.57
8.1.90.0000.00717.56
8.1.80.0040.00417.61
8.1.70.0070.00017.52
8.1.60.0040.00417.75
8.1.50.0030.00517.54
8.1.40.0040.00417.63
8.1.30.0030.00517.65
8.1.20.0050.00317.72
8.1.10.0000.00817.67
8.1.00.0070.00017.50
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0030.00318.47
8.0.270.0000.00817.30
8.0.260.0040.00417.34
8.0.250.0000.00717.06
8.0.240.0060.00017.06
8.0.230.0050.00217.05
8.0.220.0080.00017.01
8.0.210.0000.00716.95
8.0.200.0000.00716.98
8.0.190.0030.00716.94
8.0.180.0040.00416.96
8.0.170.0060.00316.91
8.0.160.0050.00317.03
8.0.150.0000.00716.89
8.0.140.0000.00817.03
8.0.130.0070.00013.41
8.0.120.0000.00816.85
8.0.110.0070.00016.81
8.0.100.0100.00016.80
8.0.90.0070.00016.94
8.0.80.0110.00416.94
8.0.70.0040.00417.06
8.0.60.0000.00717.03
8.0.50.0050.00316.89
8.0.30.0090.01217.21
8.0.20.0190.00817.40
8.0.10.0040.00417.15
8.0.00.0100.00816.89
7.4.330.0000.00515.00
7.4.320.0000.00716.66
7.4.300.0000.00716.68
7.4.290.0030.00516.68
7.4.280.0070.00016.75
7.4.270.0000.00716.60
7.4.260.0000.01016.65
7.4.250.0040.00416.74
7.4.240.0020.00516.75
7.4.230.0030.00316.85
7.4.220.0180.00316.65
7.4.210.0090.00616.67
7.4.200.0000.00716.65
7.4.160.0070.01016.74
7.4.150.0090.00917.40
7.4.140.0060.01117.86
7.4.130.0080.01016.67
7.4.120.0100.00716.54
7.4.110.0130.00316.77
7.4.100.0130.00316.65
7.4.90.0160.00316.84
7.4.80.0030.01319.39
7.4.70.0140.00716.45
7.4.60.0070.01316.61
7.4.50.0000.00416.63
7.4.40.0110.00616.63
7.4.30.0000.01616.64
7.4.00.0090.00615.08
7.3.330.0000.00713.13
7.3.320.0060.00013.18
7.3.310.0000.00716.13
7.3.300.0030.00316.29
7.3.290.0090.00616.25
7.3.280.0100.00916.29
7.3.270.0060.01717.40
7.3.260.0070.01116.25
7.3.250.0150.00216.66
7.3.240.0130.00416.46
7.3.230.0060.01016.42
7.3.210.0100.00716.39
7.3.200.0080.00819.39
7.3.190.0060.01116.41
7.3.180.0100.00716.60
7.3.170.0130.00316.61
7.3.160.0110.00816.58
7.3.120.0080.00815.03
7.3.110.0040.01514.68
7.3.100.0130.00315.11
7.3.90.0050.00514.90
7.3.80.0040.01114.78
7.3.70.0040.00715.04
7.3.60.0030.00714.98
7.3.50.0110.00414.79
7.3.40.0030.01014.93
7.3.30.0110.00414.95
7.3.20.0070.00716.86
7.3.10.0070.01116.86
7.3.00.0060.00916.74
7.2.330.0100.00716.64
7.2.320.0160.00616.59
7.2.310.0070.01016.62
7.2.300.0080.00816.87
7.2.290.0040.01616.67
7.2.250.0030.00914.95
7.2.240.0070.01014.87
7.2.230.0030.00615.00
7.2.220.0000.01415.19
7.2.210.0030.00915.10
7.2.200.0100.00615.09
7.2.190.0050.00514.93
7.2.180.0000.01515.10
7.2.170.0080.00815.25
7.2.00.0000.00919.63
7.1.330.0030.01016.01
7.1.320.0050.00516.13
7.1.310.0100.00316.07
7.1.300.0070.00715.86
7.1.290.0080.00415.92
7.1.280.0000.01215.87
7.1.270.0000.01015.57
7.1.260.0040.00416.07
7.1.100.0000.01218.20
7.1.70.0060.00617.17
7.1.60.0040.00717.44
7.1.50.0140.01017.11
7.1.00.0030.07722.33
7.0.200.0070.00716.87
7.0.140.0030.07322.21
7.0.60.0030.09019.93
7.0.50.0030.06717.70
7.0.40.0100.08020.07
7.0.30.0430.04720.22
7.0.20.0230.04320.20
7.0.10.0330.08020.20
7.0.00.0030.08720.18
5.6.280.0000.07720.76
5.6.210.0000.05020.71
5.6.200.0070.05018.12
5.6.190.0100.08020.27
5.6.180.0230.04320.38
5.6.170.0130.05320.71
5.6.160.0000.09320.33
5.6.150.0030.04718.14
5.6.140.0030.04018.18
5.6.130.0130.07018.16
5.6.120.0070.06321.11
5.6.110.0070.04021.00
5.6.100.0100.06721.13
5.6.90.0130.06721.03
5.6.80.0200.07320.50
5.6.70.0230.08320.37
5.5.350.0200.07020.40
5.5.340.0070.04017.96
5.5.330.0000.04320.56
5.5.320.0230.08020.38
5.5.310.0300.07720.29
5.5.300.0070.04718.02
5.5.290.0070.08317.98
5.5.280.0030.04020.84
5.5.270.0070.08320.82
5.5.260.0100.03320.72
5.5.250.0030.04020.60
5.5.240.0200.06720.15
5.4.450.0170.05019.49
5.4.440.0770.06319.34
5.4.430.0730.06019.41
5.4.420.0670.00019.34
5.4.410.0130.05718.85
5.4.400.0230.05318.51
5.4.390.0400.04718.61
5.4.380.0330.04318.68
5.4.370.0130.03718.72
5.4.360.0100.05018.50
5.4.350.0040.04311.98
5.4.340.0050.03911.97
5.4.320.0130.03112.45
5.4.310.0050.04012.45
5.4.300.0070.04212.46
5.4.290.0070.03712.45
5.4.280.0070.03912.35
5.4.270.0060.03512.35
5.4.260.0060.03712.35
5.4.250.0050.03912.35
5.4.240.0050.04012.35
5.4.230.0030.05312.34
5.4.220.0060.03912.34
5.4.210.0110.03612.34
5.4.200.0040.04112.34
5.4.190.0120.03112.34
5.4.180.0030.03812.34
5.4.170.0040.03812.35
5.4.160.0060.03612.34
5.4.150.0060.04012.34
5.4.140.0130.03312.02
5.4.130.0070.03712.01
5.4.120.0060.03811.97
5.4.110.0060.04511.96
5.4.100.0040.03811.96
5.4.90.0040.03811.97
5.4.80.0080.03911.96
5.4.70.0070.03411.96
5.4.60.0070.03911.96
5.4.50.0090.03711.96
5.4.40.0030.03711.95
5.4.30.0050.03611.95
5.4.20.0030.03811.95
5.4.10.0080.03811.95
5.4.00.0070.03711.44
5.3.290.0050.04612.80
5.3.280.0060.03812.71
5.3.270.0050.04112.73
5.3.260.0040.04212.71
5.3.250.0060.04312.72
5.3.240.0090.03912.72
5.3.230.0050.03712.70
5.3.220.0040.03912.68
5.3.210.0080.03712.68
5.3.200.0070.03512.68
5.3.190.0090.03712.68
5.3.180.0050.04512.68
5.3.170.0050.04212.67
5.3.160.0090.03812.67
5.3.150.0060.04012.67
5.3.140.0070.04412.66
5.3.130.0140.03712.66
5.3.120.0110.04212.66
5.3.110.0060.03712.66
5.3.100.0060.03612.12
5.3.90.0070.04412.08
5.3.80.0090.04312.08
5.3.70.0070.04112.07
5.3.60.0100.03612.06
5.3.50.0080.03712.00
5.3.40.0080.03812.00
5.3.30.0040.03711.95
5.3.20.0060.03511.73
5.3.10.0060.03411.70
5.3.00.0080.03811.69
5.2.170.0060.0299.19
5.2.160.0070.0279.19
5.2.150.0050.0309.19
5.2.140.0040.0319.18
5.2.130.0040.0289.14
5.2.120.0050.0299.15
5.2.110.0050.0369.16
5.2.100.0050.0289.15
5.2.90.0050.0289.15
5.2.80.0070.0319.15
5.2.70.0080.0289.14
5.2.60.0050.0349.10
5.2.50.0040.0409.07
5.2.40.0000.0339.05
5.2.30.0040.0309.03
5.2.20.0030.0309.02
5.2.10.0060.0318.92
5.2.00.0040.0308.78
5.1.60.0040.0318.06
5.1.50.0060.0228.06
5.1.40.0060.0258.04
5.1.30.0030.0268.39
5.1.20.0040.0268.41
5.1.10.0040.0258.14
5.1.00.0040.0258.14
5.0.50.0030.0286.62
5.0.40.0030.0196.48
5.0.30.0040.0306.29
5.0.20.0020.0216.26
5.0.10.0010.0226.24
5.0.00.0070.0276.23
4.4.90.0040.0144.78
4.4.80.0020.0154.75
4.4.70.0020.0164.75
4.4.60.0020.0164.75
4.4.50.0040.0144.77
4.4.40.0040.0244.71
4.4.30.0040.0144.76
4.4.20.0030.0154.84
4.4.10.0010.0174.85
4.4.00.0020.0254.76
4.3.110.0040.0144.67
4.3.100.0010.0164.66
4.3.90.0030.0224.63
4.3.80.0030.0244.59
4.3.70.0010.0164.63
4.3.60.0020.0154.63
4.3.50.0020.0164.63
4.3.40.0010.0264.54
4.3.30.0010.0183.28
4.3.20.0020.0163.26
4.3.10.0030.0143.21
4.3.00.0200.0176.52

preferences:
54.22 ms | 401 KiB | 5 Q