Hi Yasuo,

> On 12 Jan 2015, at 00:55, Yasuo Ohgaki <yohg...@ohgaki.net> wrote:
> 
> It works, but I prefer to have procedural API also (and OO API if it is 
> needed.) 
> I like multi paradigm programming language.

I don’t see the point of a “procedural API” here, it’d just be a set of thin 
wrappers around the OOP API.

Multi-paradigm means actually providing different approaches. Every time PHP 
has had both a “procedural” and “OOP” API so far, it’s been nothing of the 
sort, the “procedural” API has been the OOP one in disguise. There is zero 
functional difference between $foo->bar($baz, $qux); and foo_bar($foo, $baz, 
$qux); and we should stop pretending there is one.

Are people seriously scared off by the syntax of “OOP” APIs or something? I 
just don’t get it. Surely it is not hard to explain that mysql_query and 
$mysqli->query are exactly the same thing?!

> BTW, difference between 32bit and 64bit platforms would not be a problem
> as long as it is documented.

It’s not necessarily a “problem”, but I don’t see why 64-bit integers shouldn’t 
be properly supported on 64-bit systems.

Thanks.
--
Andrea Faulds
http://ajf.me/





--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to