1--TEST-- 2Return type for internal functions 3--SKIPIF-- 4<?php 5if (!function_exists('zend_test_array_return')) die('skip'); 6// Internal function return types are only checked in debug builds 7if (!PHP_DEBUG) die('skip requires debug build'); 8?> 9--FILE-- 10<?php 11zend_test_array_return(); 12?> 13--EXPECTF-- 14Fatal error: Return value of zend_test_array_return() must be of the type array, null returned in %s on line %d 15