Re: [PHP-DEV] PHP_FLOAT_MIN is positive

2019-04-03 Thread Diogo Neves
It really don't make much sense: wrote: > Hi internals, > > I just used PHP_FLOAT_MIN for the first time, and was surprised that it is > the smallest **positive** number representable. Is this expected? > > This is unlike PHP_INT_MIN, which is the absolute smallest representable > integer, and a

Re: [PHP-DEV] Ob_start, "protected" obHandler method, nod detecting $this->geMe () kind of error!

2008-09-04 Thread Diogo Neves
t access a protected method... Think like, if u can't do ErrorH::SomeMethod, u can't do ob_start( ErrorH::SomeMethod ). PS: U really need to call a method of a class that extend your actual class? It's seems like a bit circular :S > > -Original Message- > From: D

Re: [PHP-DEV] Ob_start, "protected" obHandler method, nod detecting $this->geMe () kind of error!

2008-09-04 Thread Diogo Neves
Zend Technologies > > -Original Message- > From: Catalin Zamfir Alexandru | KIT Software CAZ > [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 04, 2008 5:34 PM > To: 'Diogo Neves' > Cc: 'PHP Internals List' > Subject: RE: [PHP-DEV] Ob_start, "pr

Re: [PHP-DEV] Ob_start, "protected" obHandler method, nod detecting $this->geMe () kind of error!

2008-09-04 Thread Diogo Neves
er" method to not be > accessible by the developer, but only by inheriting objects?! > > > > Thanks for any feedback. > > > > Regards, > > Catalin Z. Alexandru > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Did you tried protected? I'm not really good with this things, but a protected method can be inherited but not acessed outside the class ;) -- Thanks, Diogo Neves Web Developer @ SAPO.pt by PrimeIT.pt

Re: [PHP-DEV] BUG #45392

2008-09-03 Thread Diogo Neves
gt; > > They expect output with fatal errors? (actually those tests failed > > > without your patch too, IIRC :) > > > > They works for me without the patch. > > > > Thanks. Dmitry. > > > > > --Jani > > > > > > > Regards, > > Arnaud > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Hi all, [Warning] I don't know the insides of php and then it can be a stupid question eval use ob_start? I say that because, in eval if u have a Parse Error inside it will output it without really stop the script... eval doesn't change its behavior with this patch? If it makes no sense to you guys, simply ignore ;) -- Thanks for your attention, Diogo Neves Web Developer @ SAPO.pt by PrimeIT.pt

[PHP-DEV] casting static property

2008-08-31 Thread Diogo Neves
Hi all, Why a static var don't cast as a dynamic one? See file for more info... -- Thanks for your attention, Diogo Neves Web Developer @ SAPO.pt by PrimeIT.pt -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] __call() magic method

2008-08-31 Thread Diogo Neves
, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: >>> Cristian Rodríguez wrote: >>>> >>>> Diogo Neves escribió: >>>>> >>>>> Hi all, >>>>> >>>>> I'm emailling to ask why __call isn't called when you ca

[PHP-DEV] Re: Bug, Warning that is possible a Parse Error

2008-08-30 Thread Diogo Neves
Hi again, Well, its behavior isn't like a Parse Error, becase the following code return NULL and not false: \'\\;' )); ?> On Sun, Aug 31, 2008 at 2:33 AM, Diogo Neves <[EMAIL PROTECTED]> wrote: > I send the sample file attached, it's easy to understand what I&#x

[PHP-DEV] Bug, Warning that is possible a Parse Error

2008-08-30 Thread Diogo Neves
and shows better than my english ;) -- Thanks for your attention, Diogo Neves Web Developer @ SAPO.pt by PrimeIT.pt error.php Description: application/httpd-php -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] __call() magic method

2008-08-30 Thread Diogo Neves
od when __call is defined > [EMAIL PROTECTED]:~$ php -r 'class A { private function a() {} public > function __call($method, $parms) { echo $method, "\n"; } } $a = new A; > $a->a();' > > Fatal error: Call to private A::a() from invalid context in Command line >

Re: [PHP-DEV] __call() magic method

2008-08-30 Thread Diogo Neves
Hi again, On Sun, Aug 31, 2008 at 12:04 AM, Antony Dovgal <[EMAIL PROTECTED]> wrote: > On 31.08.2008 02:50, Diogo Neves wrote: >> >> Exactly... >> >> Is that normal workings or more like a bugie one? > > Definitely not a bug. Ok, it's implemented to

Re: [PHP-DEV] __call() magic method

2008-08-30 Thread Diogo Neves
Exactly... Is that normal workings or more like a bugie one? On Sat, Aug 30, 2008 at 10:02 PM, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > Cristian Rodríguez wrote: >> >> Diogo Neves escribió: >>> >>> Hi all, >>> >>> I'm emailling to

Re: [PHP-DEV] __call() magic method

2008-08-30 Thread Diogo Neves
e/mangas.dev/index.php on line 47 PS: This is test code, it's a mess and it's bad naming and coding standards, don't that that part too serious. On Sat, Aug 30, 2008 at 9:56 PM, Cristian Rodríguez <[EMAIL PROTECTED]> wrote: > Diogo Neves escribió: >> Hi all, >&g

[PHP-DEV] __call() magic method

2008-08-30 Thread Diogo Neves
or its bugie? Make my opinion some sense? Is there anyway of implement or own magic method that gets called before any method in a given class? -- Thanks by your attention, Diogo Neves Web Developer @ SAPO.pt by PrimeIT.pt -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php