3v4l.org

run code in 300+ PHP versions simultaneously
<?php $connection_options= []; $connection_options['init_commands']['sql_mode'] = "SET sql_mode = 'BLAH'"; $connection_options += array( 'init_commands' => array(), ); $connection_options['init_commands'] += array( 'sql_mode' => "SET sql_mode = 'REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,STRICT_TRANS_TABLE,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER'", ); var_dump($connection_options);
Output for git.master, git.master_jit, rfc.property-hooks
array(1) { ["init_commands"]=> array(1) { ["sql_mode"]=> string(21) "SET sql_mode = '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:
159.5 ms | 405 KiB | 5 Q