3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $testSite = array( 'name' => 'test site', 'modules' => array( 'foo' => 'true', 'bar' => 'true' ) ); $testData = array( 'modules' => array( 'bar' => 'false' ) ); print_r('before ' . $testSite); $testSite = array_merge_recursive($testSite, $testData); print_r('after ' . $testSite);
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/auqLs on line 15 before Array Notice: Array to string conversion in /in/auqLs on line 17 after Array
Output for 4.3.0 - 5.3.29
before Arrayafter Array