Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21578 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29111 invoked by uid 1010); 19 Jan 2006 16:41:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29096 invoked from network); 19 Jan 2006 16:41:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2006 16:41:23 -0000 X-Host-Fingerprint: 64.233.184.195 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.195:43211] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 66/19-17857-231CFC34 for ; Thu, 19 Jan 2006 11:41:22 -0500 Received: by wproxy.gmail.com with SMTP id i13so259805wra for ; Thu, 19 Jan 2006 08:41:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ZNQ4uk94DF7qX7rnDuRsBB4Z66agkVped+4B+ZgMOyvgoPJaXgtURCGEUgHBN5vgg/XYMIWo1ZZTHcnVNQQNzZJE4WH2UYPN5PDdpeFDG9ikxZm1vZfFAEJF5ESXXAG6oY8lqWlMHuwsoe/B9povGER981yeMiBdvdLxSPlwYoU= Received: by 10.65.231.17 with SMTP id i17mr427763qbr; Thu, 19 Jan 2006 08:41:17 -0800 (PST) Received: by 10.65.110.14 with HTTP; Thu, 19 Jan 2006 08:41:17 -0800 (PST) Message-ID: Date: Thu, 19 Jan 2006 18:41:17 +0200 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6666_10814703.1137688877493" Subject: 23 nothing is so as it seems, but why From: marco.kaiser@gmail.com (Marco Kaiser) ------=_Part_6666_10814703.1137688877493 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Today during a session i had a strange "magic" feature found in php. this works perfect as expected. it returns 22. but if i assign $a as a ref. to another variable it will be return 23. this will gave me to 23 (used the $b to the pre post stuff) this just happens if i have a ref. count to my var. WHY? :) http://en.wikipedia.org/wiki/23_%28film%29 -- Marco Kaiser ------=_Part_6666_10814703.1137688877493--