|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-05 13:18 UTC] alexandre at z-index dot com dot br
[2004-03-05 18:58 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 01:00:01 2025 UTC |
Description: ------------ This problem happens when a call a specific method from a class and when a i try a echo this values strange chars (+,*,),#) apear than the real data value. Here goes the sample script: Reproduce code: --------------- <? class y { function x() { $query = "any insert"; $resultado = mysql_query($query); $id = mysql_insert_id($this->Conexao); echo "<br>inside function ".$id; } } $z = new y(); $x = $z->x(); echo "<br>outside function".$x; ?> Expected result: ---------------- inside function 12 outside function 12 Actual result: -------------- inside function 12 outside function ( or inside function 12 outside function * or inside function 12 outside function #