/
proc
/
self
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
strings
/
File Upload :
llllll
Current File: //proc/self/root/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/strings/join_error.phpt
--TEST-- Test join() function: error conditions --FILE-- <?php echo "*** Testing join() : error conditions ***\n"; // Less than expected number of arguments echo "\n-- Testing join() with less than expected no. of arguments --\n"; $glue = 'string_val'; try { var_dump(join($glue)); } catch (TypeError $e) { echo $e->getMessage(), "\n"; } echo "Done\n"; ?> --EXPECT-- *** Testing join() : error conditions *** -- Testing join() with less than expected no. of arguments -- join(): Argument #1 ($pieces) must be of type array, string given Done
Copyright ©2k19 -
Hexid
|
Tex7ure