3v4l.org

run code in 300+ PHP versions simultaneously
<?php $doc = '<div class="item active" style="display: block; left: 685.5753504672897px; top: 0px; height: 475.3125px; width: 318.84929906542055px; font-size: 100%; z-index: 32768; visibility: visible;"> <canvas class="content landscape" href="#" src="imgs/dead.jpg" title="The Dead Weather - Horehound" id="3" num="0" song="Horehound" origproportion="1.0062305295950156" width="323" height="482"></canvas></div>'; $xpath = new DOMXPath($doc); $resulted = $xpath->query('div[@class="active"]'); $active= $resulted->item->query('div[@class="content"]');

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.0140.00416.50
8.3.50.0050.01021.93
8.3.40.0110.00418.79
8.3.30.0070.00719.21
8.3.20.0040.00420.29
8.3.10.0040.00423.48
8.3.00.0040.00419.14
8.2.180.0120.00918.29
8.2.170.0150.00022.96
8.2.160.0050.00920.11
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00020.87
8.2.110.0090.00020.38
8.2.100.0070.00417.97
8.2.90.0030.00619.17
8.2.80.0090.00017.97
8.2.70.0050.00317.50
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0040.00419.75
8.2.30.0040.00418.21
8.2.20.0000.00717.57
8.2.10.0050.00217.99
8.2.00.0040.00417.81
8.1.280.0000.01425.92
8.1.270.0040.01522.24
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0050.00322.10
8.1.230.0110.00019.08
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0030.00516.88
8.1.180.0000.00818.10
8.1.170.0040.00418.50
8.1.160.0000.00721.96
8.1.150.0040.00418.59
8.1.140.0040.00417.32
8.1.130.0040.00417.84
8.1.120.0040.00417.41
8.1.110.0050.00317.36
8.1.100.0000.00717.31
8.1.90.0070.00017.38
8.1.80.0030.00417.31
8.1.70.0070.00017.30
8.1.60.0030.00617.54
8.1.50.0040.00417.44
8.1.40.0000.00817.42
8.1.30.0040.00417.66
8.1.20.0030.00517.64
8.1.10.0000.00717.61
8.1.00.0030.00517.53
8.0.300.0040.00418.77
8.0.290.0000.00716.80
8.0.280.0000.00718.40
8.0.270.0040.00417.19
8.0.260.0070.00317.12
8.0.250.0000.00716.94
8.0.240.0030.00316.96
8.0.230.0030.00317.07
8.0.220.0000.00616.82
8.0.210.0000.00716.80
8.0.200.0070.00016.95
8.0.190.0000.00816.92
8.0.180.0000.01116.76
8.0.170.0070.00016.95
8.0.160.0000.00716.95
8.0.150.0030.00516.88
8.0.140.0040.00516.84
8.0.130.0000.00613.38
8.0.120.0030.00516.90
8.0.110.0000.00716.80
8.0.100.0000.00817.02
8.0.90.0040.00416.94
8.0.80.0100.00616.86
8.0.70.0000.00716.98
8.0.60.0040.00416.87
8.0.50.0050.00316.86
8.0.30.0090.01017.10
8.0.20.0120.00917.40
8.0.10.0000.00816.82
8.0.00.0070.01016.82
7.4.330.0000.00615.04
7.4.320.0000.00616.32
7.4.300.0030.00316.64
7.4.290.0000.00716.60
7.4.280.0000.00716.61
7.4.270.0050.00316.64
7.4.260.0000.00716.53
7.4.250.0000.00816.51
7.4.240.0040.00416.60
7.4.230.0000.00716.41
7.4.220.0110.00416.50
7.4.210.0100.00816.60
7.4.200.0030.00316.70
7.4.190.0040.00416.68
7.4.160.0060.01016.60
7.4.150.0100.00617.40
7.4.140.0100.01017.86
7.4.130.0110.00516.49
7.4.120.0090.00816.50
7.4.110.0030.01316.41
7.4.100.0130.01016.46
7.4.90.0030.01716.41
7.4.80.0160.00319.39
7.4.70.0150.00616.50
7.4.60.0130.00316.61
7.4.50.0030.00616.69
7.4.40.0120.00616.45
7.4.30.0060.00916.43
7.4.00.0070.00715.14
7.3.330.0000.00513.14
7.3.320.0000.00513.02
7.3.310.0000.00716.37
7.3.300.0030.00316.28
7.3.290.0090.00516.33
7.3.280.0080.00816.34
7.3.270.0130.00317.40
7.3.260.0090.01316.29
7.3.250.0090.00816.46
7.3.240.0090.00916.48
7.3.230.0060.01016.39
7.3.210.0090.00916.49
7.3.200.0070.01019.39
7.3.190.0140.00416.47
7.3.180.0060.00916.37
7.3.170.0090.01016.27
7.3.160.0120.00916.34
7.3.120.0030.01014.91
7.3.10.0070.00716.38
7.3.00.0000.01416.42
7.2.330.0120.00616.17
7.2.320.0080.00816.47
7.2.310.0110.00716.56
7.2.300.0030.01316.23
7.2.290.0090.00916.69
7.2.130.0030.00616.75
7.2.120.0080.00516.77
7.2.110.0030.00616.59
7.2.100.0070.00716.51
7.2.90.0100.00516.56
7.2.80.0060.00616.69
7.2.70.0080.00516.72
7.2.60.0040.01016.74
7.2.50.0020.01116.51
7.2.40.0070.00516.78
7.2.30.0070.00716.69
7.2.20.0030.01016.64
7.2.10.0030.00816.55
7.2.00.0030.00917.63
7.1.250.0130.00015.36
7.1.240.0070.00715.44
7.1.230.0040.01115.64
7.1.220.0030.00915.70
7.1.210.0000.01115.70
7.1.200.0030.01115.53
7.1.190.0040.00815.75
7.1.180.0060.00915.72
7.1.170.0060.00615.82
7.1.160.0070.00715.65
7.1.150.0040.00915.78
7.1.140.0000.01215.47
7.1.130.0060.00615.48
7.1.120.0030.01115.43
7.1.110.0100.00315.40
7.1.100.0070.00916.84
7.1.90.0030.00615.78
7.1.80.0070.00415.55
7.1.70.0060.00616.40
7.1.60.0060.01217.60
7.1.50.0030.00916.31
7.1.40.0030.00915.58
7.1.30.0070.00015.61
7.1.20.0070.00715.76
7.1.10.0030.01015.61
7.1.00.0030.04419.06
7.0.320.0120.00315.42
7.0.310.0040.01115.47
7.0.300.0060.01015.37
7.0.290.0000.01015.14
7.0.280.0050.00215.34
7.0.270.0080.00415.26
7.0.260.0080.00815.25
7.0.250.0070.00715.54
7.0.240.0050.00315.33
7.0.230.0130.00015.25
7.0.220.0070.00715.06
7.0.210.0030.01015.45
7.0.200.0100.00215.90
7.0.190.0060.00915.26
7.0.180.0000.01115.43
7.0.170.0030.01015.15
7.0.160.0060.00315.45
7.0.150.0040.01115.18
7.0.140.0030.04018.61
7.0.130.0090.00615.39
7.0.120.0030.00615.00
7.0.110.0030.00915.41
7.0.100.0040.00415.52
7.0.90.0090.00315.48
7.0.80.0000.01115.15
7.0.70.0100.00015.63
7.0.60.0100.04017.62
7.0.50.0040.04516.62
7.0.40.0050.04016.85
7.0.30.0210.02316.87
7.0.20.0130.03816.62
7.0.10.0200.03816.57
7.0.00.0100.02816.75
5.6.380.0070.00714.18
5.6.370.0100.00314.52
5.6.360.0000.01114.30
5.6.350.0040.00814.27
5.6.340.0030.01014.66
5.6.330.0070.00414.09
5.6.320.0110.00014.09
5.6.310.0070.00714.46
5.6.300.0060.00614.58
5.6.290.0030.00614.04
5.6.280.0040.04217.75
5.6.270.0040.00714.32
5.6.260.0030.00914.22
5.6.250.0080.00614.23
5.6.240.0070.00714.14
5.6.230.0150.00014.07
5.6.220.0040.01114.42
5.6.210.0070.04017.42
5.6.200.0020.02716.36
5.6.190.0070.02517.26
5.6.180.0100.02817.32
5.6.170.0170.02517.21
5.6.160.0030.02217.35
5.6.150.0080.04316.23
5.6.140.0050.02316.41
5.6.130.0080.02016.22
5.6.120.0030.04717.63
5.6.110.0030.02617.67
5.6.100.0050.04117.73
5.6.90.0050.04717.44
5.6.80.0080.03317.23
5.6.70.0220.03517.39
5.6.60.0030.01014.22
5.6.50.0060.00614.19
5.6.40.0080.00413.95
5.6.30.0070.00713.98
5.6.20.0050.00514.14
5.6.10.0070.00814.28
5.6.00.0000.01014.34
5.5.380.0080.00811.07
5.5.370.0150.00011.07
5.5.360.0110.00011.21
5.5.350.2120.02115.78
5.5.340.0080.02814.49
5.5.330.0050.03315.75
5.5.320.0090.02015.68
5.5.310.0210.03115.72
5.5.300.0110.03914.48
5.5.290.0050.04114.54
5.5.280.0090.04015.92
5.5.270.0070.04416.03
5.5.260.0070.02415.97
5.5.250.0070.04515.88
5.5.240.0080.04215.67
5.5.230.0130.00011.07
5.5.220.0090.00411.07
5.5.210.0030.01011.07
5.5.200.0110.00411.07
5.5.190.0080.00411.14
5.5.180.0120.00311.07
5.5.170.0130.00313.89
5.5.160.0060.00911.07
5.5.150.0080.00811.07
5.5.140.0090.00011.07
5.5.130.0110.00311.08
5.5.120.0130.00011.07
5.5.110.0110.00311.07
5.5.100.0050.00511.07
5.5.90.0110.00311.07
5.5.80.0000.00911.07
5.5.70.0090.00511.07
5.5.60.0040.00811.07
5.5.50.0070.00711.07
5.5.40.0000.01011.07
5.5.30.0080.00611.07
5.5.20.0060.00611.11
5.5.10.0060.00311.07
5.5.00.0070.00411.07
5.4.450.0340.03215.36
5.4.440.0140.03015.15
5.4.430.0070.03815.07
5.4.420.0180.02615.25
5.4.410.0100.03215.19
5.4.400.0140.02714.91
5.4.390.0220.03214.88
5.4.380.0130.03114.90
5.4.370.0080.02314.84
5.4.360.0080.02214.88
5.4.350.0080.02511.53
5.4.340.0060.02011.52
5.4.330.0080.00511.07
5.4.320.0090.02211.77
5.4.310.0060.02011.76
5.4.300.0100.02811.77
5.4.290.0060.02911.76
5.4.280.0090.02011.71
5.4.270.0090.02511.71
5.4.260.0080.02511.71
5.4.250.0160.02611.71
5.4.240.0040.02411.71
5.4.230.0050.02111.71
5.4.220.0080.02211.71
5.4.210.0160.03111.71
5.4.200.0050.03111.71
5.4.190.0120.03511.71
5.4.180.0130.04211.71
5.4.170.0130.04511.71
5.4.160.0080.02811.71
5.4.150.0100.03211.71
5.4.140.0110.03511.55
5.4.130.0150.03811.54
5.4.120.0020.03211.52
5.4.110.0060.02511.52
5.4.100.0040.02711.52
5.4.90.0080.02611.52
5.4.80.0100.02511.52
5.4.70.0080.02011.52
5.4.60.0060.01911.52
5.4.50.0070.02211.52
5.4.40.0050.02111.51
5.4.30.0070.02011.51
5.4.20.0050.02111.51
5.4.10.0090.01811.51
5.4.00.0070.02311.26
5.3.290.0080.02211.94
5.3.280.0080.02011.89
5.3.270.0080.02511.90
5.3.260.0060.02511.90
5.3.250.0090.01911.90
5.3.240.0100.01911.90
5.3.230.0060.02611.89
5.3.220.0090.01911.88
5.3.210.0140.01911.88
5.3.200.0060.02211.88
5.3.190.0090.01911.88
5.3.180.0070.02111.87
5.3.170.0040.02411.87
5.3.160.0080.02011.87
5.3.150.0110.01811.87
5.3.140.0050.02111.87
5.3.130.0070.02211.87
5.3.120.0080.02211.86
5.3.110.0070.02711.87
5.3.100.0060.03011.60
5.3.90.0070.03011.58
5.3.80.0080.03511.57
5.3.70.0110.03011.57
5.3.60.0120.02611.57
5.3.50.0060.02411.54
5.3.40.0090.02211.54
5.3.30.0080.02111.51
5.3.20.0090.02011.40
5.3.10.0100.02211.38
5.3.00.0080.02211.38
5.2.170.0060.02410.13
5.2.160.0050.02210.13
5.2.150.0060.02310.13
5.2.140.0050.02210.13
5.2.130.0090.02210.11
5.2.120.0080.02910.11
5.2.110.0070.02510.11
5.2.100.0080.03110.11
5.2.90.0080.02310.11
5.2.80.0080.02210.11
5.2.70.0080.02910.11
5.2.60.0060.02310.08
5.2.50.0030.02610.08
5.2.40.0040.02310.07
5.2.30.0070.02410.06
5.2.20.0080.03010.06
5.2.10.0120.03010.01
5.2.00.0090.0339.94
5.1.60.0070.0269.58
5.1.50.0060.0209.58
5.1.40.0070.0209.57
5.1.30.0050.0229.75
5.1.20.0060.0139.76
5.1.10.0060.0179.62
5.1.00.0070.0339.62
5.0.50.0040.0278.86
5.0.40.0050.0158.79
5.0.30.0060.0228.69
5.0.20.0090.0448.68
5.0.10.0070.0188.67
5.0.00.0040.0228.67
4.4.90.0020.0117.93
4.4.80.0040.0137.92
4.4.70.0040.0127.92
4.4.60.0040.0127.91
4.4.50.0080.0107.92
4.4.40.0010.0217.89
4.4.30.0040.0097.92
4.4.20.0050.0097.96
4.4.10.0020.0127.96
4.4.00.0050.0137.92
4.3.110.0020.0157.87
4.3.100.0080.0147.87
4.3.90.0050.0147.85
4.3.80.0030.0187.83
4.3.70.0030.0107.85
4.3.60.0050.0127.85
4.3.50.0020.0157.85
4.3.40.0020.0207.80
4.3.30.0030.0107.18
4.3.20.0030.0127.17
4.3.10.0010.0137.15
4.3.00.0000.0169.11

preferences:
40.7 ms | 401 KiB | 5 Q