- Output for 5.3.0 - 5.3.26, 5.4.0 - 5.4.16
- Parse error: syntax error, unexpected '{' in /in/fJUGG on line 5
Process exited with code 255.
<?php
$needles = array('foor', 'bar', 'baz', 'hello', 'world');
$haystack = 'Hello! This is foo bar :)';
$result = stristr($haystack, {
return $needles;
});
var_dump($result);