|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-08-19 17:26 UTC] pear dot neufeind at speedpartner dot de
[2003-08-19 17:29 UTC] neufeind@php.net
[2003-08-20 03:50 UTC] neufeind@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 19:00:02 2025 UTC |
Description: ------------ Var_Dump raise a warning at line 750 of var_dump.php file if the display function found a resource using VAR_DUMP_DISPLAY_MODE_HTML_TABLE Reproduce code: --------------- require_once 'Var_Dump.php'; $resource = mysql_pconnect('localhost','root',''); Var_Dump::display( $resource ); // this works Var_Dump::display( $resource , '' , VAR_DUMP_DISPLAY_MODE_HTML_TABLE); // this doesn't work Expected result: ---------------- write resource as the code without HTML do Actual result: -------------- WARNING: htmlspecialchars() expects parameter 1 to be string, resource given