3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = new stdClass(); $result->id = 333; $result->title = 'title text'; echo <<<HTML <a href="index.php?option=com_rbids&task=viewbids&id={<?php echo $id; ?>}">$result->title . </a> HTML; // Notice that $id isn't a declared variable. If it was, it would be rendered but all characters between the curly braces are treated literally because you are trying to echo within an echo echo "\n---\n"; // without heredoc syntax (which can be funny about tabbing depending on php version): echo "<a href=\"index.php?option=com_rbids&task=viewbids&id={$result->id}\">{$result->title} . </a>"; // curly braces may help IDEs with highlighting
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $id in /in/s1YZG on line 7 <a href="index.php?option=com_rbids&task=viewbids&id={<?php echo ; ?>}">title text . </a> --- <a href="index.php?option=com_rbids&task=viewbids&id=333">title text . </a>

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:
158.41 ms | 406 KiB | 5 Q