3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $obj = array( 'array' => array(1, 'zwei', !!3), 'string' => 'abc', 'bool' => true, 'bool2' => false, 'integer' => 1, 'integer2' => 17 ); echo serialize($obj);
Output for 4.3.0 - 7.1.0
a:6:{s:5:"array";a:3:{i:0;i:1;i:1;s:4:"zwei";i:2;b:1;}s:6:"string";s:3:"abc";s:4:"bool";b:1;s:5:"bool2";b:0;s:7:"integer";i:1;s:8:"integer2";i:17;}