3v4l.org

run code in 300+ PHP versions simultaneously
<?php $int = 'intruder'; define('con', '"smart"'); // Use a closure (anomynous function) like so: $_ = function ($val){return $val;}; $doc = <<<TXT Hi there, One day I caught this $int nearby. I was then told that actually other {$_(con)} $int was there before. So who came first, the chicken or the egg? TXT; echo $doc;
Output for git.master, git.master_jit, rfc.property-hooks
Hi there, One day I caught this intruder nearby. I was then told that actually other "smart" intruder was there before. So who came first, the chicken or the egg?

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:
70.21 ms | 401 KiB | 8 Q