Re: [PHP] PHP 5.3.6RC2 Released for Testing

2011-03-10 Thread sexyprout
What will be the changes in PHP 5.3.6 final?

2011/3/10 Johannes Schlüter johan...@php.net

 The third, and last, release candidates of 5.3.6 was just released for
 testing and can be downloaded here:

 http://downloads.php.net/johannes/php-5.3.6RC3.tar.bz2 (md5sum:
 0098109e00a0514f947e4358d1381a67)
 http://downloads.php.net/johannes/php-5.3.6RC3.tar.gz (md5sum:
 e4d756d89d89844b1da49c1ad41e0aac)

 The windows binaries are available at: http://windows.php.net/qa/
 Windows users please mind that we don't provide VS6 builds anymore.

 This is a step in the release process of this versions and goal
 is having a final version using the same source state by next week,.
 targeting at March 17th for the release. This RC fixes errors in the
 shmop and SPL extensions as well as updating the timezone database. To
 ensure that the release is solid, please test this RC against your code
 base and report any problems that you encounter.

 Johannes Schlüter
 PHP 5.3 Release Master



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
sexyprout


Re: [PHP] Help translating PHP5 code to PHP4.

2011-03-07 Thread sexyprout
Just take another web host.

2011/3/7 Marc Guay marc.g...@gmail.com

 Hi folks,

 I've stumbled into a project involving a server running PHP4 without
 cURL.  The script fetches data from an XML webservice and deals with
 it.  Is http://ca2.php.net/xml_parser_create the place to start?  Any
 tips (besides updating PHP)?

 Here's an example of the PHP5 code:

 $url = http://www.domain.com/webservice.php?var=foo;;
 $ch = curl_init($url);
 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
 $val = curl_exec($ch);
 curl_close($ch);
 libxml_use_internal_errors(true);
 $xml = simplexml_load_string($val);
 $errors = libxml_get_errors();

 if (!($errors)){
$myvariable = $xml-attributes()-value;
 }
 else{
// deal with errors
 }

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
sexyprout


Re: [PHP] $$var

2011-03-06 Thread sexyprout
∞

2011/3/6 shiplu shiplu@gmail.com

 Just being curious, I have a question.
 How many times PHP interpreter will replace this variables? I mean how deep
 it will be?

 If I use variable variables like

 $$a
 how long it will be evaluated?

 --
 Shiplu Mokadd.im
 My talks, http://talk.cmyweb.net
 Follow me, http://twitter.com/shiplu
 Innovation distinguishes between follower and leader