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);

preferences:
47.77 ms | 402 KiB | 5 Q