[PHP-DEV] Re: YANP (Yet Another Namespace Proposal)

2005-07-09 Thread Jessie Hernandez
For previewing purposes, I have attached a patch of what I have so far so that others can look at it and try it out. I have also attached two PHP files for testing (_testns.php is the script that should be run after the patch is applied. This script includes a class from class3.php to demonstrate

[PHP-DEV] Moving ext/dbx to PECL

2005-07-09 Thread Sebastian Bergmann
I think it would be a good idea to move ext/dbx to PECL for PHP 5.1 as it is superseded by PDO. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] is_callable and method_exists always true when __call is defined

2005-07-09 Thread Marcus Boerger
Hello Davey, if you ask me it is stupid to return true because __call exists since the user can pretty easy do that by adding one more check. But he can in no way query if the function really exists or not (well he can use reflection but that is thousand times slower...) regards marcus

Re: [PHP-DEV] is_callable and method_exists always true when __call is defined

2005-07-09 Thread M. Sokolewicz
I would expect is_callable() to return true (since it is callable), but method_exists() to return false (since it doesn't really exist, it's magic)... at least, that's what would make most sense to me... Marcus Boerger wrote: Hello Davey, if you ask me it is stupid to return true because

[PHP-DEV] Deficiency in pdo_mysql driver

2005-07-09 Thread Andrey Hristov
Hi all, I decided to take a look at the MySQL PDO driver just to help with 2 more eyes looking at the code. I spotted one problem which already hit mysqli (bug #32013). The problem is that when binding result sets libmysql use optimistic approach and gives back not the maximal length of the data

[PHP-DEV] Object comparison

2005-07-09 Thread André Luis Ferreira da Silva Bacci
Hi, I was in a discuss about PHP's features vs Python's features these days and gat down in this BC: http://bugs.php.net/bug.php?id=33626 Does it ring any bell to anyone? []s André AE -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] Object comparison

2005-07-09 Thread Andrey Hristov
André Luis Ferreira da Silva Bacci wrote: Hi, I was in a discuss about PHP's features vs Python's features these days and gat down in this BC: http://bugs.php.net/bug.php?id=33626 Does it ring any bell to anyone? []s André AE In PHP4 an object was a value type in PHP5 it is a handle and

Re: [PHP-DEV] Object comparison

2005-07-09 Thread André Luis Ferreira da Silva Bacci
Andrey Hristov wrote: André Luis Ferreira da Silva Bacci wrote: Hi, I was in a discuss about PHP's features vs Python's features these days and gat down in this BC: http://bugs.php.net/bug.php?id=33626 Does it ring any bell to anyone? In PHP4 an object was a value type in PHP5 it is a