1--TEST-- 2Return type for internal functions 3--EXTENSIONS-- 4zend_test 5--SKIPIF-- 6<?php 7// Internal function return types are only checked in debug builds 8if (!PHP_DEBUG) die('skip requires debug build'); 9?> 10--INI-- 11opcache.jit=0 12--FILE-- 13<?php 14zend_test_array_return(); 15?> 16--EXPECT-- 17Fatal error: zend_test_array_return(): Return value must be of type array, null returned in Unknown on line 0 18