Re: [PHP-DEV] Where did the _logo_ functions go?

2012-11-17 Thread Kalle Sommer Nielsen
Hi Nikita 2012/11/16 Nikita Popov nikita@gmail.com: I don't see a reason to expose those uris. We all seem in the PHP project to talk about the inconsistency of the language, and the like, re-implementing a feature, or well an ability, what I proposed and I even think I committed a change

[PHP-DEV] questions about php structures

2012-11-17 Thread Adi Mutu
Hello, Got a few questions  if anybody can help me out: 1) what's the difference between zend_object and zend_object_value? what is each for? Because i'm confused.. 2) What are zend_object_store_bucket; and zend_object_store used for? Thanks, A.

Re: [PHP-DEV] questions about php structures

2012-11-17 Thread Nikita Popov
On Sat, Nov 17, 2012 at 3:05 PM, Adi Mutu adi_mut...@yahoo.com wrote: Hello, Got a few questions if anybody can help me out: 1) what's the difference between zend_object and zend_object_value? what is each for? Because i'm confused.. 2) What are zend_object_store_bucket; and

[PHP-DEV] Functions for getting long / double from zval with casts

2012-11-17 Thread Nikita Popov
Hi internals! It happens quite often that you need to extract an integer from a zval and you also want it to work for integers in strings, etc. In order to do so you currently have to cast the zval to integer. This is always rather complicated because you often don't want to actually change the

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-17 Thread Ángel González
On 16/11/12 17:03, Rasmus Lerdorf wrote: So, I am curious, why are you waiting on us for this? Is it because ext/mysql does everything you need and you simply have no need for any of the new and obviously better features in mysqli? I would have thought you would have switched to mysqli years

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-17 Thread Rasmus Lerdorf
On 11/17/2012 07:19 AM, Ángel González wrote: On 16/11/12 17:03, Rasmus Lerdorf wrote: So, I am curious, why are you waiting on us for this? Is it because ext/mysql does everything you need and you simply have no need for any of the new and obviously better features in mysqli? I would have

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-17 Thread Kris Craig
On Fri, Nov 16, 2012 at 10:09 AM, Lester Caine les...@lsces.co.uk wrote: Rasmus Lerdorf wrote: We need a frontpage notice. A big notice in the next UPGRADING file. There was nothing about this in the 5.4 UPGRADING file, for example. We also need tutorials showing how to migrate from mysql to

Re: [PHP-DEV] Where did the _logo_ functions go?

2012-11-17 Thread Sherif Ramadan
On Fri, Nov 16, 2012 at 5:07 PM, Nikita Popov nikita@gmail.com wrote: Why would you need those data uris? For what reason would anyone need the GUIDs? To get the logo maybe? I don't know. I mean, if you want to embed a PHP logo, then just embed that logo. If you want to put an image on a

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-17 Thread Ángel González
On 17/11/12 17:24, Rasmus Lerdorf wrote: Right, that is what I meant by focusing more on the carrot than the stick. Many people, yourself included, don't realize the things they would gain switching to mysqli. We need to do a better job with that and perhaps even consider if there are other

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-17 Thread Lester Caine
Kris Craig wrote: There is something really important I'd also like to stress: In UPGRADING, as well as any other literature we release designed to help people with this transition, we should not simply focus on porting ext/mysql code to mysqli. We should emphasize the use of prepared

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-17 Thread Rasmus Lerdorf
On 11/17/2012 09:14 AM, Ángel González wrote: On 17/11/12 17:24, Rasmus Lerdorf wrote: Being able to fire off your SQL query at the top of a page and then instead of waiting around for the result continue building the page until you get to the point where you need the DB result. Do you really

[PHP-DEV] PHP 5.5 snapshot

2012-11-17 Thread Remi Collet
Hi, http://snaps.php.net/ only have php 5.3 and 5.4 snapshot. I think it will be great to also have 5.5. Regards, Remi. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Where did the _logo_ functions go?

2012-11-17 Thread Nikita Popov
On Sat, Nov 17, 2012 at 6:09 PM, Sherif Ramadan theanomaly...@gmail.comwrote: On Fri, Nov 16, 2012 at 5:07 PM, Nikita Popov nikita@gmail.com wrote: Why would you need those data uris? For what reason would anyone need the GUIDs? To get the logo maybe? I don't know. I mean, if you

Re: [PHP-DEV] Functions for getting long / double from zval with casts

2012-11-17 Thread Levi Morrison
On Sat, Nov 17, 2012 at 8:15 AM, Nikita Popov nikita@gmail.com wrote: Hi internals! It happens quite often that you need to extract an integer from a zval and you also want it to work for integers in strings, etc. In order to do so you currently have to cast the zval to integer. This is

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-17 Thread Levi Morrison
Being able to fire off your SQL query at the top of a page and then instead of waiting around for the result continue building the page until you get to the point where you need the DB result. Do you really expend that much time building your html that it makes a difference? Let's not forget

Re: [PHP-DEV] PHP 5.5 snapshot

2012-11-17 Thread Daniel Brown
On Sat, Nov 17, 2012 at 1:17 PM, Remi Collet r...@fedoraproject.org wrote: Hi, http://snaps.php.net/ only have php 5.3 and 5.4 snapshot. I think it will be great to also have 5.5. David had sent me an email about that a couple of days ago, and I'd said that I would add the snaps the

Re: [PHP-DEV] RFC: ext/mysql deprecation

2012-11-17 Thread Adam Harvey
On 16/11/2012 8:58 PM, Patrick ALLAERT patrickalla...@php.net wrote: 2012/11/12 Adam Harvey ahar...@php.net: Hi everyone, I've written an RFC to cover deprecating ext/mysql in PHP 5.5: https://wiki.php.net/rfc/mysql_deprecation. While we handled the soft deprecation in the