Re: [PHP-DEV] Static functions Vs Nonstatic functions

2014-12-01 Thread Carlos Rodrigues
name :P. For now i will just wait. Thx anyway, *Carlos Rodrigues* 2014-12-01 15:25 GMT-02:00 Stanislav Malyshev : > Hi! > > > class Cube { > > function weird() { > >echo Duck::foo(); > > } > > > > } > > > > class Duck { > >

Re: [PHP-DEV] Static functions Vs Nonstatic functions

2014-12-01 Thread Carlos Rodrigues
, introducing a bug on the application. I don't see any case where this behavior is useful. And even it there was one, it could be achieved using magic methods __call() and __callStatic(). Thank you all, *Carlos Rodrigues* car...@jp7.com.br 2014-11-28 20:59 GMT-02:00 Stanislav Malyshev

[PHP-DEV] Static functions Vs Nonstatic functions

2014-11-28 Thread Carlos Rodrigues
uld use magic methods __call and __callStatic instead. Thanks for your time and patience, Carlos Rodrigues car...@jp7.com.br

Re: [PHP-DEV] Method check - Can someone create a RFC for it?

2013-03-20 Thread Carlos Rodrigues
l exec "php block.php" for each one. If we could catch fatal errors, or at least the "Call to a member function on a non-object", we could have this code in our Zend Framework implementations, wrapping each view in a try/catch, and showing a "error, sorry", in ca

[PHP-DEV] Method check - Can someone create a RFC for it?

2013-03-20 Thread Carlos Rodrigues
systems out there where it's better to output an empty string than having your site offline, just cause the programmer couldn't test it completely. Thanks for reading it. Carlos Rodrigues -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php