3v4l.org

run code in 300+ PHP versions simultaneously
<?php $isFan = file_get_contents("https://api.facebook.com/method/pages.isFan?format=json&access_token=" . USER_TOKEN . "&page_id=" . FB_FANPAGE_ID);

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.120.0060.00320.79
8.3.110.0120.00320.94
8.3.100.0080.00024.06
8.3.90.0060.01216.71
8.3.80.0030.00618.68
8.3.70.0040.01118.55
8.3.60.0100.00716.63
8.3.50.0110.00821.98
8.3.40.0110.00718.83
8.3.30.0030.01018.90
8.3.20.0050.00318.73
8.3.10.0080.00019.98
8.3.00.0040.00417.80
8.2.240.0060.00316.95
8.2.230.0040.00422.58
8.2.220.0030.00537.54
8.2.210.0040.00426.77
8.2.200.0040.00416.50
8.2.190.0120.00918.67
8.2.180.0140.00318.41
8.2.170.0070.00722.96
8.2.160.0070.00719.04
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00721.17
8.2.120.0040.00426.35
8.2.110.0030.00721.11
8.2.100.0000.01117.93
8.2.90.0050.00319.07
8.2.80.0030.00617.97
8.2.70.0050.00317.63
8.2.60.0030.00517.93
8.2.50.0000.00818.10
8.2.40.0050.00322.33
8.2.30.0040.00420.52
8.2.20.0040.00417.61
8.2.10.0000.00817.93
8.2.00.0050.00218.16
8.1.300.0040.00419.91
8.1.290.0060.00318.88
8.1.280.0090.00625.92
8.1.270.0040.00423.97
8.1.260.0000.00828.09
8.1.250.0070.00028.09
8.1.240.0060.00322.05
8.1.230.0090.00317.52
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0100.00017.23
8.1.180.0050.00318.10
8.1.170.0000.00819.03
8.1.160.0040.00418.86
8.1.150.0000.00718.77
8.1.140.0000.00719.54
8.1.130.0000.01117.72
8.1.120.0000.00717.25
8.1.110.0000.00717.45
8.1.100.0090.00017.42
8.1.90.0040.00717.30
8.1.80.0030.00517.27
8.1.70.0070.00017.35
8.1.60.0040.00417.39
8.1.50.0000.00817.36
8.1.40.0040.00417.30
8.1.30.0030.00517.61
8.1.20.0050.00217.46
8.1.10.0080.00017.35
8.1.00.0000.00717.32
8.0.300.0030.00518.77
8.0.290.0000.00816.75
8.0.280.0070.00018.43
8.0.270.0000.00817.21
8.0.260.0040.00417.16
8.0.250.0070.00016.99
8.0.240.0060.00016.92
8.0.230.0070.00016.87
8.0.220.0000.00816.98
8.0.210.0000.00716.91
8.0.200.0030.00716.88
8.0.190.0080.00017.00
8.0.180.0000.00816.97
8.0.170.0000.00716.98
8.0.160.0050.00316.84
8.0.150.0050.00216.78
8.0.140.0040.00416.93
8.0.130.0030.00313.25
8.0.120.0040.00416.94
8.0.110.0080.00016.95
8.0.100.0040.00416.89
8.0.90.0040.00416.78
8.0.80.0060.01316.99
8.0.70.0000.00717.06
8.0.60.0040.00416.92
8.0.50.0000.00716.73
8.0.30.0060.01317.11
8.0.20.0120.00817.40
8.0.10.0000.00717.03
8.0.00.0080.01116.73
7.4.330.0030.00415.08
7.4.320.0000.00616.59
7.4.300.0000.00616.43
7.4.290.0000.00816.41
7.4.280.0040.00416.52
7.4.270.0030.00316.61
7.4.260.0030.00316.56
7.4.250.0040.00416.56
7.4.240.0050.00216.55
7.4.230.0000.00716.51
7.4.220.0040.01516.55
7.4.210.0070.00916.61
7.4.200.0030.00316.60
7.4.160.0090.00616.62
7.4.150.0040.01417.40
7.4.140.0140.00717.86
7.4.130.0070.01016.40
7.4.120.0120.00816.52
7.4.110.0080.01116.45
7.4.100.0000.01616.46
7.4.90.0090.00916.62
7.4.80.0150.00319.39
7.4.70.0110.00816.66
7.4.60.0250.00016.52
7.4.50.0170.00016.57
7.4.40.0120.00816.61
7.4.30.0150.00616.70
7.4.00.0090.00914.97
7.3.330.0080.00013.21
7.3.320.0050.00013.17
7.3.310.0060.00316.19
7.3.300.0030.00316.16
7.3.290.0000.00716.38
7.3.280.0100.00716.36
7.3.270.0140.00317.40
7.3.260.0040.01416.62
7.3.250.0130.01116.32
7.3.240.0090.01116.36
7.3.230.0080.00916.39
7.3.210.0120.00616.19
7.3.200.0030.01419.39
7.3.190.0120.00616.37
7.3.180.0120.00416.37
7.3.170.0030.01316.29
7.3.160.0090.00916.32
7.3.120.0130.00614.88
7.3.110.0040.01414.89
7.3.100.0060.01214.86
7.3.90.0070.00714.75
7.3.80.0100.00014.96
7.3.70.0060.01214.86
7.3.60.0070.01114.60
7.3.50.0030.01314.64
7.3.40.0070.00314.53
7.3.30.0030.01114.51
7.3.20.0000.01416.66
7.3.10.0040.01116.36
7.3.00.0060.00316.53
7.2.330.0000.01816.47
7.2.320.0070.01116.57
7.2.310.0100.00916.59
7.2.300.0040.01316.45
7.2.290.0070.01416.52
7.2.250.0100.00714.91
7.2.240.0130.00615.23
7.2.230.0000.01414.72
7.2.220.0090.00615.13
7.2.210.0110.00714.93
7.2.200.0100.00715.00
7.2.190.0080.00715.14
7.2.180.0060.01314.95
7.2.170.0100.00315.08
7.2.60.0030.01316.89
7.1.330.0070.00715.73
7.1.320.0040.01115.54
7.1.310.0040.01515.70
7.1.300.0090.00315.41
7.1.290.0030.01615.72
7.1.280.0080.00415.51
7.1.270.0100.00615.80
7.1.260.0060.01015.70
7.1.200.0060.00915.58
7.1.100.0040.00818.25
7.1.70.0080.00017.29
7.1.60.0160.01019.38
7.1.50.0030.01317.37
7.1.00.0070.07322.67
7.0.200.0080.00816.75
7.0.60.0300.07320.19
7.0.50.0300.05720.75
7.0.40.0330.05320.61
7.0.30.0270.06020.63
7.0.20.0170.06020.62
7.0.10.0130.06020.71
7.0.00.0200.05320.54
5.6.280.0070.07021.21
5.6.210.0070.05020.96
5.6.200.0170.06021.48
5.6.190.0230.06321.43
5.6.180.0130.05321.36
5.6.170.0270.05721.52
5.6.160.0270.05321.28
5.6.150.0200.05721.37
5.6.140.0170.05321.35
5.6.130.0130.05721.44
5.6.120.0270.05321.41
5.6.110.0200.06321.55
5.6.100.0200.05021.46
5.6.90.0070.06721.36
5.6.80.0170.05320.65
5.6.70.0100.06720.73
5.6.60.0130.05720.88
5.6.50.0200.05720.84
5.6.40.0270.05320.74
5.6.30.0200.05720.83
5.6.20.0170.06020.82
5.6.10.0200.06320.89
5.6.00.0230.08320.86
5.5.350.0070.05720.75
5.5.340.0070.06721.34
5.5.330.0170.07021.13
5.5.320.0100.06321.12
5.5.310.0230.04721.30
5.5.300.0100.06021.18
5.5.290.0100.06321.18
5.5.280.0070.06321.18
5.5.270.0170.05321.29
5.5.260.0100.06321.34
5.5.250.0230.05721.16
5.5.240.0170.05320.54
5.5.230.0100.06020.69
5.5.220.0130.05720.57
5.5.210.0070.06320.52
5.5.200.0100.05720.51
5.5.190.0300.05320.79
5.5.180.0300.04720.66
5.5.160.0270.06320.58
5.5.150.0270.05020.53
5.5.140.0330.04320.54
5.5.130.0230.05020.70
5.5.120.0130.05320.39
5.5.110.0130.05320.52
5.5.100.0070.06320.43
5.5.90.0030.06320.39
5.5.80.0100.06020.59
5.5.70.0100.06320.41
5.5.60.0170.06720.52
5.5.50.0200.06720.45
5.5.40.0130.05320.42
5.5.30.0130.05320.40
5.5.20.0170.05320.52
5.5.10.0230.05020.36
5.5.00.0230.04320.43

preferences:
28.62 ms | 403 KiB | 5 Q