3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array("result"=>-1, "data"=>"12039841290384qwioeurqwieur348971239-48"); echo json_encode( unserialize( $array));

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
Warning: unserialize() expects parameter 1 to be string, array given in /in/RaiXA on line 3 false
Output for Array change keys
Warning: unserialize() expects parameter 1 to be string, array given in /in/RaiXA on line 3 false
Output for Lexical anon
Warning: unserialize() expects parameter 1 to be string, array given in /in/RaiXA on line 3 false

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page