3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = 37; for ($i = 0;$i <= 37;$i++) { eval('$hex = "\\{$}ibbb";'); var_dump($hex); }
Output for 5.1.1 - 7.1.0
string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb" string(8) "\{$}ibbb"
Output for 4.3.0 - 5.1.0
string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb" string(7) "{$}ibbb"