3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $wid = 300; ?> <div style="width: <?php echo wid; ?>;">sdkflafnlkasf</div>
Output for 7.2.0
<div style="width: Warning: Use of undefined constant wid - assumed 'wid' (this will throw an Error in a future version of PHP) in /in/gk3rR on line 2 wid;">sdkflafnlkasf</div>
Output for 4.3.0 - 7.1.7
<div style="width: Notice: Use of undefined constant wid - assumed 'wid' in /in/gk3rR on line 2 wid;">sdkflafnlkasf</div>