3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fb_username = 'ShuroSan'; $fb = @json_decode(file_get_contents('https://graph.facebook.com/'.$fb_username)); $fb_fans = number_format($fb->fan_count); ?><html> <head> <title>Fans and Followers</title> </head> <body> Facebook fan count: <?=$fb_fans;?><br /> </body> </html>

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.0070.01018.43
8.3.50.0110.00621.09
8.3.40.0150.00018.70
8.3.30.0070.00720.16
8.3.20.0040.00420.29
8.3.10.0040.00422.02
8.3.00.0040.00422.45
8.2.180.0140.00316.88
8.2.170.0070.00722.96
8.2.160.0070.00722.11
8.2.150.0070.00724.18
8.2.140.0100.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00419.66
8.2.110.0100.00022.20
8.2.100.0090.00317.91
8.2.90.0000.00818.03
8.2.80.0000.00817.97
8.2.70.0000.01017.75
8.2.60.0060.00317.93
8.2.50.0080.00018.07
8.2.40.0060.00318.15
8.2.30.0030.00517.98
8.2.20.0030.00617.63
8.2.10.0050.00317.78
8.2.00.0000.00917.87
8.1.280.0110.00425.92
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0130.01020.74
8.1.230.0080.00420.81
8.1.220.0050.00317.77
8.1.210.0000.00818.94
8.1.200.0000.00917.35
8.1.190.0040.00417.53
8.1.180.0030.00619.01
8.1.170.0060.00318.65
8.1.160.0040.00422.08
8.1.150.0040.00418.66
8.1.140.0050.00317.38
8.1.130.0030.00317.87
8.1.120.0000.00817.55
8.1.110.0040.00417.57
8.1.100.0040.00417.48
8.1.90.0040.00417.39
8.1.80.0040.00417.45
8.1.70.0030.00317.46
8.1.60.0060.00317.50
8.1.50.0000.00717.49
8.1.40.0040.00417.54
8.1.30.0050.00317.63
8.1.20.0040.00417.61
8.1.10.0040.00417.50
8.1.00.0040.00417.39
8.0.300.0020.00520.04
8.0.290.0040.00417.16
8.0.280.0050.00318.58
8.0.270.0070.00017.35
8.0.260.0000.00716.97
8.0.250.0000.00817.06
8.0.240.0080.00017.09
8.0.230.0000.00717.09
8.0.220.0000.00716.94
8.0.210.0030.00317.05
8.0.200.0000.00817.07
8.0.190.0030.00717.09
8.0.180.0040.00416.98
8.0.170.0030.00617.04
8.0.160.0000.00717.16
8.0.150.0040.00417.00
8.0.140.0070.00016.98
8.0.130.0030.00313.50
8.0.120.0080.00017.00
8.0.110.0040.00416.95
8.0.100.0040.00417.04
8.0.90.0040.00417.08
8.0.80.0090.00617.07
8.0.70.0000.00717.04
8.0.60.0000.00717.02
8.0.50.0030.00516.99
8.0.30.0110.00817.11
8.0.20.0130.00517.41
8.0.10.0000.00817.09
8.0.00.0090.00816.75
7.4.330.0040.00415.00
7.4.320.0030.00316.67
7.4.300.0060.00016.59
7.4.290.0040.00416.62
7.4.280.0000.00716.64
7.4.270.0040.00416.66
7.4.260.0090.00016.53
7.4.250.0040.00416.59
7.4.240.0000.00716.61
7.4.230.0000.00716.43
7.4.220.0130.00316.56
7.4.210.0090.00716.60
7.4.200.0000.00716.61
7.4.190.0030.00316.68
7.4.160.0110.00616.62
7.4.150.0180.00017.40
7.4.140.0100.00817.86
7.4.130.0080.01316.53
7.4.120.0110.00816.52
7.4.110.0100.00716.51
7.4.100.0060.01616.65
7.4.90.0100.00716.54
7.4.80.0150.00919.39
7.4.70.0070.01016.43
7.4.60.0080.00816.36
7.4.50.0040.00416.50
7.4.40.0060.00622.77
7.4.30.0100.00616.54
7.4.00.0040.01215.08
7.3.330.0000.00513.41
7.3.320.0050.00013.25
7.3.310.0070.00016.30
7.3.300.0030.00316.49
7.3.290.0080.00516.59
7.3.280.0070.00816.41
7.3.270.0110.00617.40
7.3.260.0080.00816.41
7.3.250.0090.00816.61
7.3.240.0170.00316.63
7.3.230.0080.00816.43
7.3.210.0110.00816.46
7.3.200.0040.01519.39
7.3.190.0130.01016.64
7.3.180.0030.01216.52
7.3.170.0030.01316.73
7.3.160.0030.01316.41
7.3.120.0100.00314.93
7.2.330.0150.00316.52
7.2.320.0110.01116.87
7.2.310.0100.00716.64
7.2.300.0100.00716.66
7.2.290.0110.00616.68
7.1.70.0110.01117.67
7.1.60.0040.02119.43
7.1.50.0120.00917.26
7.1.00.0030.07322.84
7.0.200.0030.00616.90
7.0.140.0130.06322.53
7.0.100.0000.04320.34
7.0.90.0030.04020.52
7.0.80.0100.06720.30
7.0.70.0030.08020.29
7.0.60.0100.07720.56
7.0.50.0100.05020.86
7.0.40.0070.04020.59
7.0.30.0070.04020.59
7.0.20.0100.03720.53
7.0.10.0000.04320.59
7.0.00.0030.04320.55
5.6.280.0030.07721.39
5.6.250.0030.04021.28
5.6.240.0070.04721.27
5.6.230.0070.04021.04
5.6.220.0170.06721.13
5.6.210.0070.06720.96
5.6.200.0000.04721.58
5.6.190.0030.06721.53
5.6.180.0030.04321.55
5.6.170.0030.04321.57
5.6.160.0030.06021.55
5.6.150.0030.05021.57
5.6.140.0000.04321.61
5.6.130.0100.04021.61
5.6.120.0130.03321.56
5.6.110.0030.07721.62
5.6.100.0030.04721.54
5.6.90.0030.04321.47
5.6.80.0070.03720.98
5.6.70.0000.05020.82
5.6.60.0030.04021.00
5.6.50.0070.03721.05
5.6.40.0130.07021.02
5.6.30.0170.06720.93
5.6.20.0100.07720.93
5.6.10.0130.07320.92
5.6.00.0100.06020.79
5.5.380.0070.06720.87
5.5.370.0070.03720.79
5.5.360.0000.04320.85
5.5.350.0070.04020.96
5.5.340.0030.05321.35
5.5.330.0070.03721.22
5.5.320.0100.03721.47
5.5.310.0130.03721.46
5.5.300.0070.04721.37
5.5.290.0030.07021.30
5.5.280.0030.04021.37
5.5.270.0130.03321.21
5.5.260.0030.06021.16
5.5.250.0100.06321.13
5.5.240.0100.03320.71
5.5.230.0000.06020.88
5.5.220.0000.05320.52
5.5.210.0070.03320.73
5.5.200.0030.04020.82
5.5.190.0070.08320.59
5.5.180.0070.07320.72
5.5.160.0070.08020.77
5.5.150.0070.07720.81
5.5.140.0170.06720.84
5.5.130.0200.04020.84
5.5.120.0030.07720.85
5.5.110.0130.06020.75
5.5.100.0070.07020.55
5.5.90.0030.05020.49
5.5.80.0130.07720.64
5.5.70.0100.08020.61
5.5.60.0130.07020.70
5.5.50.0030.07720.55
5.5.40.0000.04320.57
5.5.30.0070.07720.68
5.5.20.0100.07020.56
5.5.10.0200.03320.65
5.5.00.0130.06720.48
5.4.450.0070.04020.00
5.4.440.0000.04319.91
5.4.430.0030.04319.98
5.4.420.0030.04020.00
5.4.410.0000.04319.79
5.4.400.0030.03719.53
5.4.390.0030.04719.48
5.4.380.0100.06319.57
5.4.370.0100.04019.60
5.4.360.0070.05719.50
5.4.350.0070.04019.45
5.4.340.0070.07019.32
5.4.320.0130.07719.35
5.4.310.0100.06719.39
5.4.300.0100.06719.68
5.4.290.0030.07719.56
5.4.280.0070.05319.35
5.4.270.0170.07319.57
5.4.260.0130.07019.74
5.4.250.0070.07719.55
5.4.240.0130.07019.44
5.4.230.0100.07319.32
5.4.220.0100.07319.57
5.4.210.0070.05019.59
5.4.200.0100.03719.34
5.4.190.0100.08019.68
5.4.180.0070.06019.60
5.4.170.0070.07019.59
5.4.160.0100.07719.28
5.4.150.0070.06719.41
5.4.140.0100.07316.41
5.4.130.0070.06716.45
5.4.120.0100.07316.50
5.4.110.0030.07016.63
5.4.100.0100.07016.48
5.4.90.0130.06316.55
5.4.80.0030.04716.48
5.4.70.0200.06016.45
5.4.60.0070.07016.52
5.4.50.0030.07716.55
5.4.40.0030.06316.52
5.4.30.0100.03716.54
5.4.20.0100.06716.52
5.4.10.0030.07716.52
5.4.00.0100.07015.90
5.3.290.0070.06714.75
5.3.280.0030.04714.71
5.3.270.0030.07314.64
5.3.260.0030.06314.79
5.3.250.0170.06714.67
5.3.240.0070.07014.67
5.3.230.0030.06314.78
5.3.220.0070.07714.62
5.3.210.0100.06714.74
5.3.200.0070.07714.67
5.3.190.0070.07314.62
5.3.180.0130.06714.65
5.3.170.0100.07314.75
5.3.160.0030.08014.67
5.3.150.0070.05314.68
5.3.140.0100.07314.60
5.3.130.0030.08014.68
5.3.120.0070.07014.73
5.3.110.0070.05714.62
5.3.100.0030.08014.04
5.3.90.0070.07314.19
5.3.80.0070.07314.08
5.3.70.0100.03713.98
5.3.60.0070.07314.07
5.3.50.0100.06314.02
5.3.40.0100.07014.11
5.3.30.0070.07713.97
5.3.20.0100.07013.86
5.3.10.0000.07713.60
5.3.00.0030.07713.68
5.2.170.0030.06711.41
5.2.160.0030.06311.41
5.2.150.0030.06011.41
5.2.140.0070.03311.41
5.2.130.0100.05711.41
5.2.120.0130.05711.41
5.2.110.0070.06711.41
5.2.100.0000.06011.41
5.2.90.0100.05711.41
5.2.80.0030.06011.41
5.2.70.0070.05711.41
5.2.60.0100.05711.41
5.2.50.0000.06711.41
5.2.40.0030.06311.41
5.2.30.0070.04011.41
5.2.20.0070.05711.41
5.2.10.0070.05311.41
5.2.00.0100.05311.41
5.1.60.0000.05311.41
5.1.50.0030.05311.41
5.1.40.0070.05011.41
5.1.30.0070.06011.41
5.1.20.0100.04711.41
5.1.10.0100.05311.41
5.1.00.0000.06011.41
5.0.50.0030.03711.41
5.0.40.0030.04311.41
5.0.30.0000.04311.41
5.0.20.0000.04711.41
5.0.10.0030.04011.41
5.0.00.0070.03011.41
4.4.90.0100.03011.41
4.4.80.0000.03711.41
4.4.70.0030.03711.41
4.4.60.0000.04011.41
4.4.50.0070.03011.41
4.4.40.0000.05711.41
4.4.30.0000.04011.41
4.4.20.0070.03311.41
4.4.10.0030.03311.41
4.4.00.0100.04711.41
4.3.110.0070.03011.41
4.3.100.0030.03711.41
4.3.90.0000.03011.41
4.3.80.0030.05311.41
4.3.70.0000.03711.41
4.3.60.0000.03711.41
4.3.50.0000.03011.41
4.3.40.0000.05311.41
4.3.30.0000.03711.41
4.3.20.0000.03711.41
4.3.10.0070.02711.41
4.3.00.0000.03011.41

preferences:
58.58 ms | 401 KiB | 5 Q