3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); print serialize($a); print serialize(base64_encode($a));
Output for 4.3.0 - 5.6.21, hhvm-3.12.0, 7.0.0 - 7.1.0
a:0:{} Warning: base64_encode() expects parameter 1 to be string, array given in /in/XaA5d on line 5 N;
Output for hhvm-3.10.0

Process exited with code 153.