3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = [ 'test', 'test2', '2384 sldjf $$' ]; echo base64_encode($arr); ?>
based on uMXoW
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
Warning: base64_encode() expects parameter 1 to be string, array given in /in/bpmg0 on line 9