3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $out = base64_decode('ABC123!@#$%'); var_dump($out); foreach ($out as $ch) { echo ord($ch).' '; }
Output for 4.3.0 - 4.3.10, 4.4.0 - 5.6.21, 7.0.0 - 7.1.0
string(4) "��" Warning: Invalid argument supplied for foreach() in /in/ot8rZ on line 7
Output for hhvm-3.10.0 - 3.12.0
string(4) "��" Warning: Invalid argument supplied for foreach() in /in/ot8rZ on line 9
Output for 4.3.11
string(4) "��"