--TEST-- Bug #22836 (returning references to NULL) --FILE-- --EXPECTF-- string(3) "foo" 'foo' string(3) "foo" 'foo' string(3) "foo" 'foo' string(3) "foo" 'foo' string(3) "foo" 'foo' string(3) "foo" 'foo' string(3) "foo" 'foo' string(3) "foo" 'foo'