Computer Science Canada PHP 5 final release |
Author: | wtd [ Tue Jul 13, 2004 10:06 pm ] |
Post subject: | PHP 5 final release |
http://www.php.net |
Author: | Amailer [ Tue Jul 13, 2004 11:12 pm ] |
Post subject: | |
yup, and... my project doesn't work with it :S |
Author: | Amailer [ Wed Jul 14, 2004 9:42 am ] |
Post subject: | |
Hey, anyone know what is hte 'new' way for PHP 5 to use HTTP_GET_VARS and etc? is it _GET (like php4)? Thanks |
Author: | JHanson90 [ Tue Aug 17, 2004 11:54 pm ] |
Post subject: | |
Amailer wrote: Hey, anyone know what is hte 'new' way for PHP 5 to use HTTP_GET_VARS and etc? is it _GET (like php4)?
The long array names ('register_long_arrays' in the php.ini) is set to Off by default for PHP 5.0.x. This is talking about $HTTP_GET_VARS and related HTTP array variables. You can set it to On, or use the shorter versions ($_GET, $_POST, $_ENV, $_SERVER, etc.). It's recommended that you use the shorter versions, not only because it will increase performance, but also because they are visible from within your function definitions; the longer ones aren't. |
Author: | wtd [ Wed Aug 18, 2004 12:39 am ] |
Post subject: | |
JHanson90 wrote: Amailer wrote: Hey, anyone know what is hte 'new' way for PHP 5 to use HTTP_GET_VARS and etc? is it _GET (like php4)?
The long array names ('register_long_arrays' in the php.ini) is set to Off by default for PHP 5.0.x. This is talking about $HTTP_GET_VARS and related HTTP array variables. You can set it to On, or use the shorter versions ($_GET, $_POST, $_ENV, $_SERVER, etc.). It's recommended that you use the shorter versions, not only because it will increase performance, but also because they are visible from within your function definitions; the longer ones aren't. Oh wow... I didn't realize I could hate PHP even more than I already did. |
Author: | JHanson90 [ Wed Aug 18, 2004 1:09 am ] |
Post subject: | |
What's to hate? |
Author: | wtd [ Wed Aug 18, 2004 3:50 am ] |
Post subject: | |
The hackish nature of the language. |
Author: | Craige [ Sat Dec 09, 2006 10:00 am ] |
Post subject: | |
wtd wrote: The hackish nature of the language.
It's improving upon it's self without throwing users of the previous version out in the rain. Not sure what's to hate there. Yes all the outdated things that linger around are annoying, but keep the language as widely usable as possible. |