3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r( 'El status '.session_status() ); //if ( session_status() !== PHP_SESSION_ACTIVE ) session_start(); if ( session_id() === "" ) session_start(); print_r( 'Luego el status '.session_status() );
Output for git.master, git.master_jit, rfc.property-hooks
El status 1 Warning: session_start(): Session cannot be started after headers have already been sent in /in/Wtpb0 on line 5 Luego el status 1

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:
48.06 ms | 401 KiB | 8 Q