3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pg = (file_get_contents("pets_articles/Pets/".$_GET['page'])); if(strpos($pg,'Body:')!==false) {$ii=strpos($pg,'Body:')+5;$hor = substr($pg, $ii);} else {$hor=$pg;} $hor = str_replace("\n", "<br>", $hor); echo $hor; ?>

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.40.0090.00618.76
8.3.30.0130.00319.04
8.3.20.0070.01120.34
8.3.10.0060.00323.67
8.3.00.0100.00019.38
8.2.170.0060.00922.96
8.2.160.0060.00920.57
8.2.150.0070.01324.18
8.2.140.0060.00324.66
8.2.130.0140.00426.16
8.2.120.0060.00320.55
8.2.110.0030.00621.96
8.2.100.0040.00718.03
8.2.90.0050.00319.17
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0000.00819.77
8.2.50.0040.00418.07
8.2.40.0040.00420.07
8.2.30.0040.00418.39
8.2.20.0080.00017.75
8.2.10.0080.00019.84
8.2.00.0050.00217.77
8.1.270.0060.01223.91
8.1.260.0180.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00923.80
8.1.230.0060.00619.16
8.1.220.0060.00317.79
8.1.210.0000.00818.77
8.1.200.0100.00017.23
8.1.190.0040.00417.25
8.1.180.0000.00818.10
8.1.170.0080.00018.40
8.1.160.0040.00422.05
8.1.150.0030.00518.68
8.1.140.0040.00417.58
8.1.130.0040.00417.92
8.1.120.0030.00517.48
8.1.110.0050.00517.45
8.1.100.0070.00017.48
8.1.90.0020.00517.40
8.1.80.0000.00817.54
8.1.70.0030.00317.42
8.1.60.0030.00717.49
8.1.50.0000.01017.48
8.1.40.0050.00317.59
8.1.30.0030.00817.59
8.1.20.0000.00917.72
8.1.10.0080.00017.60
8.1.00.0090.00017.53
8.0.300.0080.00018.77
8.0.290.0050.00317.18
8.0.280.0040.00418.59
8.0.270.0040.00417.26
8.0.260.0070.00017.36
8.0.250.0030.00317.13
8.0.240.0000.00717.12
8.0.230.0020.00517.09
8.0.220.0000.00717.07
8.0.210.0040.00416.92
8.0.200.0030.00616.98
8.0.190.0030.00617.09
8.0.180.0000.00717.07
8.0.170.0000.00817.04
8.0.160.0000.00716.94
8.0.150.0080.00016.95
8.0.140.0080.00017.06
8.0.130.0040.00413.46
8.0.120.0000.00817.09
8.0.110.0040.00417.05
8.0.100.0000.00817.06
8.0.90.0080.00016.95
8.0.80.0140.00317.09
8.0.70.0000.00816.87
8.0.60.0000.00716.94
8.0.50.0000.00717.03
8.0.30.0090.01117.10
8.0.20.0140.00517.40
8.0.10.0030.00617.00
8.0.00.0120.00616.77
7.4.330.0000.00615.08
7.4.320.0030.00316.49
7.4.300.0000.00716.52
7.4.290.0070.00016.53
7.4.280.0000.00816.62
7.4.270.0030.00316.47
7.4.260.0070.00016.61
7.4.250.0030.00516.58
7.4.240.0030.00516.55
7.4.230.0000.00716.61
7.4.220.0160.00616.46
7.4.210.0090.00516.50
7.4.200.0030.00516.73
7.4.190.0080.00016.62
7.4.160.0120.00316.46
7.4.150.0140.00317.40
7.4.140.0130.00417.86
7.4.130.0090.00816.55
7.4.120.0100.00716.53
7.4.110.0040.01616.58
7.4.100.0140.00316.67
7.4.90.0040.01416.62
7.4.80.0140.00519.39
7.4.70.0110.00716.43
7.4.60.0000.01616.43
7.4.50.0060.00016.46
7.4.40.0100.00616.38
7.4.30.0040.01216.53
7.4.10.0130.00315.09
7.4.00.0030.01314.94
7.3.330.0000.00713.19
7.3.320.0030.00313.38
7.3.310.0050.00216.46
7.3.300.0030.00316.46
7.3.290.0070.00716.52
7.3.280.0100.00716.46
7.3.270.0100.00717.40
7.3.260.0030.01616.47
7.3.250.0090.01116.48
7.3.240.0070.01016.43
7.3.230.0060.01116.43
7.3.210.0080.00916.42
7.3.200.0160.01019.39
7.3.190.0080.00816.50
7.3.180.0130.00316.63
7.3.170.0100.00916.50
7.3.160.0110.00516.47
7.3.130.0140.00414.97
7.3.120.0070.01114.77
7.3.110.0060.01314.70
7.3.100.0060.00614.59
7.3.90.0110.00714.57
7.3.80.0090.00314.97
7.3.70.0070.00314.55
7.3.60.0040.00714.88
7.3.50.0030.01514.91
7.3.40.0040.01114.68
7.3.30.0080.00414.68
7.3.20.0060.00616.60
7.3.10.0070.00716.82
7.3.00.0100.00316.73
7.2.330.0110.00816.82
7.2.320.0140.00316.48
7.2.310.0140.00416.80
7.2.300.0100.00716.69
7.2.290.0150.00616.73
7.2.260.0040.01415.24
7.2.250.0060.01215.04
7.2.240.0110.00415.30
7.2.230.0090.00614.67
7.2.220.0140.00014.75
7.2.210.0040.01114.66
7.2.200.0120.00315.13
7.2.190.0090.00614.98
7.2.180.0160.00314.97
7.2.170.0060.01015.17
7.2.160.0060.00915.20
7.2.150.0060.00916.92
7.2.140.0040.00816.71
7.2.130.0000.01417.16
7.2.120.0000.01416.91
7.2.110.0100.00316.86
7.2.100.0070.00716.95
7.2.90.0070.00717.00
7.2.80.0070.00716.79
7.2.70.0000.01816.88
7.2.60.0060.00616.92
7.2.50.0030.00917.05
7.2.40.0130.00316.91
7.2.30.0030.00617.02
7.2.20.0070.00716.91
7.2.10.0100.00316.79
7.2.00.0110.00716.70
7.1.330.0100.00315.82
7.1.320.0060.00615.92
7.1.310.0030.00616.04
7.1.300.0070.01115.76
7.1.290.0090.00015.52
7.1.280.0040.00415.60
7.1.270.0080.00415.82
7.1.260.0140.00315.61
7.1.250.0070.00715.56
7.1.240.0030.01315.84
7.1.230.0090.00615.63
7.1.220.0060.00315.57
7.1.210.0070.00415.92
7.1.200.0070.00415.83
7.1.190.0140.00315.66
7.1.180.0070.00715.76
7.1.170.0060.00615.80
7.1.160.0090.00615.57
7.1.150.0030.00716.02
7.1.140.0000.01115.75
7.1.130.0090.00915.99
7.1.120.0000.00915.72
7.1.110.0030.01015.63
7.1.100.0000.01315.93
7.1.90.0060.01215.94
7.1.80.0090.00615.69
7.1.70.0030.00916.54
7.1.60.0080.01017.64
7.1.50.0060.01116.45
7.1.40.0030.00815.83
7.1.30.0070.00715.60
7.1.20.0150.00015.89
7.1.10.0070.00415.85
7.1.00.0020.04319.11
7.0.330.0120.00315.49
7.0.320.0080.00015.28
7.0.310.0030.01015.55
7.0.300.0080.00615.26
7.0.290.0040.01115.43
7.0.280.0060.00915.27
7.0.270.0000.00915.56
7.0.260.0120.00315.37
7.0.250.0080.00015.44
7.0.240.0080.00315.57
7.0.230.0030.00715.61
7.0.220.0030.00915.40
7.0.210.0060.00915.48
7.0.200.0080.00616.23
7.0.190.0110.00015.33
7.0.180.0040.00815.46
7.0.170.0040.00715.48
7.0.160.0030.01015.46
7.0.150.0060.00615.43
7.0.140.0020.03918.73
7.0.130.0060.00615.39
7.0.120.0080.00015.59
7.0.110.0040.01115.39
7.0.100.0080.00415.49
7.0.90.0040.01115.46
7.0.80.0040.00815.37
7.0.70.0030.01015.40
7.0.60.0070.03717.64
7.0.50.0050.04816.71
7.0.40.0080.02216.68
7.0.30.0230.03316.78
7.0.20.0190.02216.81
7.0.10.0180.04016.77
7.0.00.0070.04816.85
5.6.400.0070.01014.04
5.6.390.0070.00714.42
5.6.380.0030.01014.52
5.6.370.0030.01314.47
5.6.360.0080.00814.55
5.6.350.0090.00614.46
5.6.340.0030.01014.29
5.6.330.0040.00714.36
5.6.320.0030.00714.44
5.6.310.0090.00614.43
5.6.300.0030.00614.28
5.6.290.0070.00714.67
5.6.280.0100.03517.89
5.6.270.0060.00614.56
5.6.260.0040.01114.59
5.6.250.0040.01114.40
5.6.240.0040.01114.51
5.6.230.0040.00814.45
5.6.220.0030.00914.29
5.6.210.0050.03717.57
5.6.200.0040.02816.25
5.6.190.0050.02317.43
5.6.180.1620.02817.57
5.6.170.0140.02717.44
5.6.160.0070.03417.34
5.6.150.0070.03916.29
5.6.140.0120.04016.18
5.6.130.0050.04216.24
5.6.120.0050.02717.79
5.6.110.0060.04617.68
5.6.100.0080.04317.64
5.6.90.0070.04517.77
5.6.80.0050.04017.24
5.6.70.0160.02317.46
5.6.60.0030.00914.14
5.6.50.0090.00314.63
5.6.40.0090.00614.44
5.6.30.0040.01114.07
5.6.20.0030.01414.41
5.6.10.0060.00614.36
5.6.00.0090.00614.26
5.5.380.0090.00014.30
5.5.370.0040.00714.18
5.5.360.0000.00913.97
5.5.350.0170.03817.25
5.5.340.0030.02716.11
5.5.330.0100.02817.43
5.5.320.0180.04317.12
5.5.310.0150.03117.12
5.5.300.0020.04716.11
5.5.290.0040.02416.30
5.5.280.0070.02717.61
5.5.270.0080.02417.47
5.5.260.0080.02917.72
5.5.250.0100.03017.45
5.5.240.0070.04317.20
5.5.230.0060.01214.47
5.5.220.0090.00614.02
5.5.210.0030.01014.17
5.5.200.0030.00814.09
5.5.190.0030.01114.31
5.5.180.0070.00713.89
5.5.170.0070.00614.34
5.5.160.0040.00814.30
5.5.150.0040.01114.29
5.5.140.0000.01414.34
5.5.130.0030.00914.38
5.5.120.0060.00614.04
5.5.110.0090.00614.45
5.5.100.0070.00714.20
5.5.90.0070.00713.93
5.5.80.0030.00913.95
5.5.70.0000.01514.41
5.5.60.0030.01014.24
5.5.50.0000.00914.00
5.5.40.0030.01214.29
5.5.30.0070.01414.30
5.5.20.0100.01014.34
5.5.10.0040.00714.23
5.5.00.0040.01113.84
5.4.450.0160.02215.35
5.4.440.0190.03715.21
5.4.430.0200.03615.01
5.4.420.0120.04015.04
5.4.410.0150.03015.13
5.4.400.0200.02514.82
5.4.390.0150.04214.98
5.4.380.0180.03014.99
5.4.370.0150.03115.00
5.4.360.0190.03114.91
5.4.350.0130.03814.94
5.4.340.0150.02814.96
5.4.330.0000.01010.90
5.4.320.0150.04215.05
5.4.310.0130.03714.95
5.4.300.0150.04114.98
5.4.290.0130.04114.86
5.4.280.0230.02514.87
5.4.270.0170.02514.91
5.4.260.0150.04114.95
5.4.250.0120.03515.11
5.4.240.0160.02814.80
5.4.230.0120.02415.14
5.4.220.0090.02714.94
5.4.210.0140.02215.04
5.4.200.0190.02014.98
5.4.190.0150.02015.03
5.4.180.0210.03315.07
5.4.170.0190.02414.95
5.4.160.0100.02515.06
5.4.150.0210.03015.07
5.4.140.0190.03713.49
5.4.130.0160.02513.58
5.4.120.0200.02713.57
5.4.110.0130.04013.66
5.4.100.0170.04013.64
5.4.90.0210.03013.58
5.4.80.0150.03013.65
5.4.70.0170.02013.58
5.4.60.0180.03213.55
5.4.50.0150.03013.50
5.4.40.0140.03113.49
5.4.30.0130.03713.63
5.4.20.0130.02613.63
5.4.10.0130.02313.61
5.4.00.0150.02713.33
5.3.290.0120.03212.71
5.3.280.0150.03712.66
5.3.270.0190.02112.64
5.3.260.0130.02812.64
5.3.250.0170.02712.76
5.3.240.0150.03112.74
5.3.230.0170.03812.73
5.3.220.0190.02912.63
5.3.210.0180.03512.66
5.3.200.0170.03512.64
5.3.190.0190.03612.67
5.3.180.0180.03612.62
5.3.170.0120.02512.63
5.3.160.0130.03212.66
5.3.150.0170.02312.68
5.3.140.0130.02212.73
5.3.130.0130.02512.58
5.3.120.0110.02312.61
5.3.110.0190.03512.72
5.3.100.0180.03712.38
5.3.90.0150.03912.41
5.3.80.0140.02712.34
5.3.70.0200.03212.34
5.3.60.0180.03312.46
5.3.50.0210.03212.37
5.3.40.0140.04012.39
5.3.30.0160.03112.30
5.3.20.0190.03212.23
5.3.10.0100.02312.16
5.3.00.0130.02012.17
5.2.170.0230.04311.80
5.2.160.0170.03311.80
5.2.150.0170.03711.80
5.2.140.0170.05711.80
5.2.130.0130.04711.80
5.2.120.0200.04311.80
5.2.110.0300.04711.80
5.2.100.0170.03011.80
5.2.90.0200.02711.80
5.2.80.0230.06311.80
5.2.70.0330.05311.80
5.2.60.0200.05311.80
5.2.50.0230.04711.80
5.2.40.0170.06011.80
5.2.30.0270.05311.80
5.2.20.0270.05711.80
5.2.10.0230.03711.80
5.2.00.0230.05311.80
5.1.60.0230.04711.80
5.1.50.0200.05311.80
5.1.40.0300.03011.80
5.1.30.0200.04011.80
5.1.20.0300.04311.80
5.1.10.0200.03011.80
5.1.00.0200.05011.80
5.0.50.0130.02011.80
5.0.40.0130.04011.80
5.0.30.0130.05711.80
5.0.20.0100.03011.80
5.0.10.0130.03711.80
5.0.00.0130.06311.80
4.4.90.0100.02011.80
4.4.80.0070.03711.80
4.4.70.0070.02311.80
4.4.60.0100.02011.80
4.4.50.0070.03711.80
4.4.40.0100.03311.80
4.4.30.0100.03311.80
4.4.20.0100.03311.80
4.4.10.0070.02011.80
4.4.00.0100.04011.80
4.3.110.0130.02711.80
4.3.100.0070.01711.80
4.3.90.0100.02311.80
4.3.80.0100.05311.80
4.3.70.0130.02711.80
4.3.60.0100.03011.80
4.3.50.0100.03311.80
4.3.40.0170.04711.80
4.3.30.0030.02711.80
4.3.20.0030.02011.80
4.3.10.0070.02711.80
4.3.00.0070.03311.80

preferences:
41.83 ms | 400 KiB | 5 Q