3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); $employee = (new stdClass); $employee->employee_first_name = 'blah'; $_SESSION['laboratory_roster'] = [ 'employee_entrance' => $employee ]; var_dump($_SESSION, $_SESSION['laboratory_roster']['employee_entrance']->employee_first_name);
Output for git.master, git.master_jit, rfc.property-hooks
array(1) { ["laboratory_roster"]=> array(1) { ["employee_entrance"]=> object(stdClass)#1 (1) { ["employee_first_name"]=> string(4) "blah" } } } string(4) "blah"

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:
44.61 ms | 2006 KiB | 4 Q