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>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Attempt to read property "fan_count" on null in /in/k18vF on line 5 Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /in/k18vF on line 5 <html> <head> <title>Fans and Followers</title> </head> <body> Facebook fan count: 0<br /> </body> </html>

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
49.2 ms | 402 KiB | 8 Q