3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $result = new StdClass(); array_intersect_key( (array) $result, $data );
Output for 5.1.0 - 5.2.4, 5.2.7 - 7.1.0
Notice: Undefined variable: data in /in/Qovjr on line 5 Warning: array_intersect_key(): Argument #2 is not an array in /in/Qovjr on line 5
Output for 5.2.5 - 5.2.6
Notice: Undefined variable: data in /in/Qovjr on line 5
Output for 5.0.0 - 5.0.5
Fatal error: Call to undefined function array_intersect_key() in /in/Qovjr on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: array_intersect_key() in /in/Qovjr on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: array_intersect_key() in /in/Qovjr on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: array_intersect_key() in /in/Qovjr on line 5