3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); $_SESSION = array('a' => 5, 'b' => 'á', 'c' => 55); var_dump($_SESSION); $str = session_encode(); var_dump($str); $str = str_replace('á', 'a', $str); var_dump($str);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { ["a"]=> int(5) ["b"]=> string(2) "á" ["c"]=> int(55) } string(24) "a|i:5;b|s:2:"á";c|i:55;" string(23) "a|i:5;b|s:2:"a";c|i:55;"

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

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


preferences:
50.07 ms | 401 KiB | 8 Q