Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25670 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25852 invoked by uid 1010); 13 Sep 2006 18:08:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 25837 invoked from network); 13 Sep 2006 18:08:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Sep 2006 18:08:43 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.189 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 64.233.182.189 nf-out-0910.google.com Linux 2.4/2.6 Received: from [64.233.182.189] ([64.233.182.189:46745] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/D5-25108-70948054 for ; Wed, 13 Sep 2006 14:08:43 -0400 Received: by nf-out-0910.google.com with SMTP id y25so2039842nfb for ; Wed, 13 Sep 2006 11:08:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sz50BKdwT8AliudjFby4Fe0jN4Hui6HIgPna8za0sreppYqMqF4UfI7JNzCdBI/GA87eMJOx5mY6cA+SUqLoP9BT1VqvwKg4H07X5SFStV+D+39+VQAnVrm1upjeJri5lK8NhRJHo1JREdI/g7fhng5GtMPtplw54u34+pIWguE= Received: by 10.49.92.18 with SMTP id u18mr11194261nfl; Wed, 13 Sep 2006 11:08:04 -0700 (PDT) Received: by 10.48.212.14 with HTTP; Wed, 13 Sep 2006 11:08:04 -0700 (PDT) Message-ID: <7f3ed2c30609131108s641b8ef1rd5e958f73d61e880@mail.gmail.com> Date: Wed, 13 Sep 2006 20:08:04 +0200 To: "Andrei Zmievski" Cc: "Marcus Boerger" , internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7f3ed2c30609101503l31921ce3q331eb6275350f8e3@mail.gmail.com> <7f3ed2c30609101546l3be4e09bke4b4acbaec7b6d5c@mail.gmail.com> <207169252.20060911084456@marcus-boerger.de> <93e708040447d40ae99020e1a7af7dda@gravitonic.com> <13872768.20060911233149@marcus-boerger.de> Subject: Re: Tweaking "expects parameter # to be..." message From: hannes.magnusson@gmail.com ("Hannes Magnusson") Hi Andrei & Marcus At first glance it looks like the only place we use "instance of " is with type hinting: Argument # passed to must be an instance of , instance of given But the rest is "object of class ": Cannot use object of type as array Trying to clone an uncloneable object of class Exceptions must be valid objects derived from the Exception base class ... Guess it depends much on the context too. -Hannes On 9/13/06, Andrei Zmievski wrote: > Show me how many times we use "instance" versus "object" in PHP. > > -Andrei > > > On Sep 11, 2006, at 5:31 PM, Marcus Boerger wrote: > > > Hello Andrei, > > > > for some reason i like "instance of class" better than "class > > object". > > The reason is that we have instances rather than objects - So it's a > > purist thing. > > > > best regards > > marcus > > > > Monday, September 11, 2006, 6:44:08 PM, you wrote: > > > >> How is "instance of=10" different from "object"? > > > >> -Andrei > > > >> On Sep 10, 2006, at 11:44 PM, Marcus Boerger wrote: > > > >>> Hello Hannes, > >>> > >>> with your changewe'd have: > >>> > >>> "Warning: token_get_all() expects parameter 1 to be binary string, > >>> stdClass object > >>> given in %s on line %d" > >>> > >>> i would like the followingmore: > >>> > >>> "Warning: token_get_all() expects parameter 1 to be binary string, > >>> instance > >>> ofstdClass given in %s on line %d" > >>> > >>> best regards > >>> marcus > >>> > >>> > >>> > >>> Monday, September 11, 2006, 12:46:56 AM, you wrote: > >>> > >>>> Index: ext/libxml/tests/001.phpt > >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> RCS file: /repository/php-src/ext/libxml/tests/001.phpt,v > >>>> retrieving revision 1.2 > >>>> diff -u -r1.2 001.phpt > >>>> --- ext/libxml/tests/001.phpt 27 Jun 2006 22:54:29 -0000 1.2 > >>>> +++ ext/libxml/tests/001.phpt 10 Sep 2006 22:44:45 -0000 > >>>> @@ -22,7 +22,7 @@ > >>>> bool(false) > >>>> bool(true) > >>>> > >>>> -Warning: libxml_use_internal_errors() expects parameter 1 to be > >>>> boolean, object given in %s001.php on line 6 > >>>> +Warning: libxml_use_internal_errors() expects parameter 1 to be > >>>> boolean, > >>>> stdClass object given in %s001.php on line 6 > >>>> NULL > >>>> array(0) { > >>>> } > >>>> Index: ext/openssl/tests/bug38255.phpt > >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> RCS file: /repository/php-src/ext/openssl/tests/bug38255.phpt,v > >>>> retrieving revision 1.2 > >>>> diff -u -r1.2 bug38255.phpt > >>>> --- ext/openssl/tests/bug38255.phpt 29 Jul 2006 22:41:34 -0000 > >>>> 1.2 > >>>> +++ ext/openssl/tests/bug38255.phpt 10 Sep 2006 22:44:45 -0000 > >>>> @@ -38,10 +38,10 @@ > >>>> Warning: openssl_verify(): supplied key param cannot be coerced > >>>> into > >>>> a public key in %s on line %d > >>>> bool(false) > >>>> > >>>> -Warning: openssl_verify() expects parameter 2 to be string, object > >>>> given in %s on line %d > >>>> +Warning: openssl_verify() expects parameter 2 to be string, > >>>> stdClass > >>>> object given in %s on line %d > >>>> NULL > >>>> > >>>> -Warning: openssl_verify() expects parameter 2 to be string, object > >>>> given in %s on line %d > >>>> +Warning: openssl_verify() expects parameter 2 to be string, > >>>> stdClass > >>>> object given in %s on line %d > >>>> NULL > >>>> > >>>> Warning: openssl_verify() expects parameter 2 to be string, array > >>>> given in %s on line %d > >>>> @@ -50,6 +50,31 @@ > >>>> Warning: openssl_verify() expects at least 3 parameters, 0 > >>>> given in > >>>> %s on line %d > >>>> NULL > >>>> > >>>> -Warning: openssl_verify() expects parameter 1 to be string, object > >>>> given in %s on line %d > >>>> +Warning: openssl_verify() expects parameter 1 to be string, > >>>> stdClass > >>>> object given in %s on line %d > >>>> NULL > >>>> Done > >>>> +--UEXPECTF-- > >>>> +Warning: openssl_verify(): supplied key param cannot be coerced > >>>> into > >>>> a public key in %s on line %d > >>>> + > >>>> +Warning: openssl_verify(): supplied key param cannot be coerced > >>>> into > >>>> a public key in %s on line %d > >>>> +bool(false) > >>>> + > >>>> +Warning: openssl_verify(): supplied key param cannot be coerced > >>>> into > >>>> a public key in %s on line %d > >>>> +bool(false) > >>>> + > >>>> +Warning: openssl_verify() expects parameter 2 to be binary string, > >>>> stdClass object given in %s on line %d > >>>> +NULL > >>>> + > >>>> +Warning: openssl_verify() expects parameter 2 to be binary string, > >>>> stdClass object given in %s on line %d > >>>> +NULL > >>>> + > >>>> +Warning: openssl_verify() expects parameter 2 to be binary string, > >>>> array given in %s on line %d > >>>> +NULL > >>>> + > >>>> +Warning: openssl_verify() expects at least 3 parameters, 0 > >>>> given in > >>>> %s on line %d > >>>> +NULL > >>>> + > >>>> +Warning: openssl_verify() expects parameter 1 to be binary string, > >>>> stdClass object given in %s on line %d > >>>> +NULL > >>>> +Done > >>>> + > >>>> Index: ext/spl/tests/iterator_044.phpt > >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> RCS file: /repository/php-src/ext/spl/tests/iterator_044.phpt,v > >>>> retrieving revision 1.1 > >>>> diff -u -r1.1 iterator_044.phpt > >>>> --- ext/spl/tests/iterator_044.phpt 21 May 2006 17:27:12 -0000 > >>>> 1.1 > >>>> +++ ext/spl/tests/iterator_044.phpt 10 Sep 2006 22:44:45 -0000 > >>>> @@ -89,10 +89,10 @@ > >>>> object(stdClass)#%d (0) { > >>>> } > >>>> > >>>> -Warning: CachingIterator::offsetExists() expects parameter 1 to be > >>>> string (Unicode or binary), object given in %siterator_044.php on > >>>> line %d > >>>> +Warning: CachingIterator::offsetExists() expects parameter 1 to be > >>>> string (Unicode or binary), stdClass object given in > >>>> %siterator_044.php on line %d > >>>> NULL > >>>> > >>>> -Warning: CachingIterator::offsetGet() expects parameter 1 to be > >>>> string > >>>> (Unicode or binary), object given in %siterator_044.php on line %d > >>>> +Warning: CachingIterator::offsetGet() expects parameter 1 to be > >>>> string > >>>> (Unicode or binary), stdClass object given in %siterator_044.php on > >>>> line %d > >>>> NULL > >>>> =3D=3D=3D2=3D=3D=3D > >>>> object(MyFoo)#%d (0) { > >>>> @@ -134,10 +134,10 @@ > >>>> object(stdClass)#1 (0) { > >>>> } > >>>> > >>>> -Warning: CachingIterator::offsetExists() expects parameter 1 to be > >>>> string (Unicode or binary), object given in %siterator_044.php on > >>>> line %d > >>>> +Warning: CachingIterator::offsetExists() expects parameter 1 to be > >>>> string (Unicode or binary), stdClass object given in > >>>> %siterator_044.php on line %d > >>>> NULL > >>>> > >>>> -Warning: CachingIterator::offsetGet() expects parameter 1 to be > >>>> string > >>>> (Unicode or binary), object given in %siterator_044.php on line %d > >>>> +Warning: CachingIterator::offsetGet() expects parameter 1 to be > >>>> string > >>>> (Unicode or binary), stdClass object given in %siterator_044.php on > >>>> line %d > >>>> NULL > >>>> =3D=3D=3D2=3D=3D=3D > >>>> object(MyFoo)#2 (0) { > >>>> @@ -184,10 +184,10 @@ > >>>> object(stdClass)#%d (0) { > >>>> } > >>>> > >>>> -Warning: CachingIterator::offsetExists() expects parameter 1 to be > >>>> string (Unicode or binary), object given in %siterator_044.php on > >>>> line %d > >>>> +Warning: CachingIterator::offsetExists() expects parameter 1 to be > >>>> string (Unicode or binary), stdClass object given in > >>>> %siterator_044.php on line %d > >>>> NULL > >>>> > >>>> -Warning: CachingIterator::offsetGet() expects parameter 1 to be > >>>> string > >>>> (Unicode or binary), object given in %siterator_044.php on line %d > >>>> +Warning: CachingIterator::offsetGet() expects parameter 1 to be > >>>> string > >>>> (Unicode or binary), stdClass object given in %siterator_044.php on > >>>> line %d > >>>> NULL > >>>> =3D=3D=3D2=3D=3D=3D > >>>> object(MyFoo)#%d (0) { > >>>> @@ -229,10 +229,10 @@ > >>>> object(stdClass)#1 (0) { > >>>> } > >>>> > >>>> -Warning: CachingIterator::offsetExists() expects parameter 1 to be > >>>> string (Unicode or binary), object given in %siterator_044.php on > >>>> line %d > >>>> +Warning: CachingIterator::offsetExists() expects parameter 1 to be > >>>> string (Unicode or binary), stdClass object given in > >>>> %siterator_044.php on line %d > >>>> NULL > >>>> > >>>> -Warning: CachingIterator::offsetGet() expects parameter 1 to be > >>>> string > >>>> (Unicode or binary), object given in %siterator_044.php on line %d > >>>> +Warning: CachingIterator::offsetGet() expects parameter 1 to be > >>>> string > >>>> (Unicode or binary), stdClass object given in %siterator_044.php on > >>>> line %d > >>>> NULL > >>>> =3D=3D=3D2=3D=3D=3D > >>>> object(MyFoo)#2 (0) { > >>>> Index: ext/standard/tests/image/image_type_to_extension.phpt > >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> RCS file: > >>>> /repository/php-src/ext/standard/tests/image/ > >>>> image_type_to_extension.phpt,v > >>>> retrieving revision 1.2 > >>>> diff -u -r1.2 image_type_to_extension.phpt > >>>> --- ext/standard/tests/image/image_type_to_extension.phpt 25 > >>>> Jun 2006 21:23:38 -0000 1.2 > >>>> +++ ext/standard/tests/image/image_type_to_extension.phpt 10 > >>>> Sep 2006 22:44:45 -0000 > >>>> @@ -90,7 +90,7 @@ > >>>> Warning: image_type_to_extension() expects parameter 2 to be > >>>> boolean, array given in %s on line %d > >>>> bool(false) > >>>> > >>>> -Warning: image_type_to_extension() expects parameter 1 to be long, > >>>> object given in %s on line %d > >>>> +Warning: image_type_to_extension() expects parameter 1 to be long, > >>>> stdClass object given in %s on line %d > >>>> bool(false) > >>>> bool(false) > >>>> > >>>> Index: ext/standard/tests/strings/str_word_count.phpt > >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> RCS file: > >>>> /repository/php-src/ext/standard/tests/strings/ > >>>> str_word_count.phpt,v > >>>> retrieving revision 1.8 > >>>> diff -u -r1.8 str_word_count.phpt > >>>> --- ext/standard/tests/strings/str_word_count.phpt 28 Aug 2006 > >>>> 19:52:01 -0000 1.8 > >>>> +++ ext/standard/tests/strings/str_word_count.phpt 10 Sep 2006 > >>>> 22:44:45 -0000 > >>>> @@ -91,7 +91,7 @@ > >>>> Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), array given in %s on line %d > >>>> NULL > >>>> > >>>> -Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), object given in %s on line %d > >>>> +Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), stdClass object given in %s on line %d > >>>> NULL > >>>> int(7) > >>>> array(5) { > >>>> @@ -136,7 +136,7 @@ > >>>> Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), array given in %s on line %d > >>>> NULL > >>>> > >>>> -Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), object given in %s on line %d > >>>> +Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), stdClass object given in %s on line %d > >>>> NULL > >>>> array(7) { > >>>> [0]=3D> > >>>> @@ -196,7 +196,7 @@ > >>>> Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), array given in %s on line %d > >>>> NULL > >>>> > >>>> -Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), object given in %s on line %d > >>>> +Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), stdClass object given in %s on line %d > >>>> NULL > >>>> array(7) { > >>>> [0]=3D> > >>>> @@ -285,7 +285,7 @@ > >>>> Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), array given in %s on line %d > >>>> NULL > >>>> > >>>> -Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), object given in %s on line %d > >>>> +Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), stdClass object given in %s on line %d > >>>> NULL > >>>> int(7) > >>>> array(5) { > >>>> @@ -330,7 +330,7 @@ > >>>> Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), array given in %s on line %d > >>>> NULL > >>>> > >>>> -Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), object given in %s on line %d > >>>> +Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), stdClass object given in %s on line %d > >>>> NULL > >>>> array(7) { > >>>> [0]=3D> > >>>> @@ -390,7 +390,7 @@ > >>>> Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), array given in %s on line %d > >>>> NULL > >>>> > >>>> -Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), object given in %s on line %d > >>>> +Warning: str_word_count() expects parameter 3 to be string > >>>> (Unicode > >>>> or > >>>> binary), stdClass object given in %s on line %d > >>>> NULL > >>>> array(7) { > >>>> [0]=3D> > >>>> Index: ext/standard/tests/strings/substr_compare.phpt > >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> RCS file: > >>>> /repository/php-src/ext/standard/tests/strings/ > >>>> substr_compare.phpt,v > >>>> retrieving revision 1.4 > >>>> diff -u -r1.4 substr_compare.phpt > >>>> --- ext/standard/tests/strings/substr_compare.phpt 20 Jun 2006 > >>>> 19:49:44 -0000 1.4 > >>>> +++ ext/standard/tests/strings/substr_compare.phpt 10 Sep 2006 > >>>> 22:44:45 -0000 > >>>> @@ -27,7 +27,7 @@ > >>>> Warning: substr_compare(): The start position cannot exceed > >>>> initial > >>>> string length in %s on line %d > >>>> bool(false) > >>>> > >>>> -Warning: substr_compare() expects parameter 5 to be boolean, > >>>> object > >>>> given in %s on line %d > >>>> +Warning: substr_compare() expects parameter 5 to be boolean, > >>>> stdClass object given in %s on line %d > >>>> bool(false) > >>>> Test > >>>> > >>>> @@ -47,7 +47,7 @@ > >>>> Warning: substr_compare(): The start position cannot exceed > >>>> initial > >>>> string length in %s on line %d > >>>> bool(false) > >>>> > >>>> -Warning: substr_compare() expects parameter 5 to be boolean, > >>>> object > >>>> given in %s on line %d > >>>> +Warning: substr_compare() expects parameter 5 to be boolean, > >>>> stdClass object given in %s on line %d > >>>> bool(false) > >>>> Test > >>>> > >>>> Index: ext/tokenizer/tests/003.phpt > >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> RCS file: /repository/php-src/ext/tokenizer/tests/003.phpt,v > >>>> retrieving revision 1.6 > >>>> diff -u -r1.6 003.phpt > >>>> --- ext/tokenizer/tests/003.phpt 20 Jun 2006 18:14:12 -0000 > >>>> 1.6 > >>>> +++ ext/tokenizer/tests/003.phpt 10 Sep 2006 22:44:45 -0000 > >>>> @@ -17,7 +17,7 @@ > >>>> Warning: token_get_all() expects parameter 1 to be string, array > >>>> given in %s on line %d > >>>> NULL > >>>> > >>>> -Warning: token_get_all() expects parameter 1 to be string, object > >>>> given in %s on line %d > >>>> +Warning: token_get_all() expects parameter 1 to be string, > >>>> stdClass > >>>> object given in %s on line %d > >>>> NULL > >>>> array(0) { > >>>> } > >>>> @@ -44,7 +44,7 @@ > >>>> Warning: token_get_all() expects parameter 1 to be binary string, > >>>> array given in %s on line %d > >>>> NULL > >>>> > >>>> -Warning: token_get_all() expects parameter 1 to be binary string, > >>>> object given in %s on line %d > >>>> +Warning: token_get_all() expects parameter 1 to be binary string, > >>>> stdClass object given in %s on line %d > >>>> NULL > >>>> array(0) { > >>>> } > >>> > >>> > >>> > >>> Best regards, > >>> Marcus > >>> > >>> -- > >>> PHP Internals - PHP Runtime Development Mailing List > >>> To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > Best regards, > > Marcus > > > >