Re: [PHP] What is the difference between the two streams 5.3 and 5.2 versions and What is the need for maintaining two streams?
On Tue, Jan 5, 2010 at 10:34, Daniel Egeberg wrote: > On Tue, Jan 5, 2010 at 02:22, Varuna Seneviratna wrote: >> Since there are two stable versions 5.3 and 5.2 .What is the difference >> between these two streams and What is the need for maintaining two streams? > > The PHP 5.3.x branch is still pretty new. That is why 5.2.x is still > maintained to provide bug fixes and security patches seeing as there > are still a lot of people using that branch. > > If you are going to do a new install, PHP 5.3.1 should be just fine for you. And that was supposed to have gone to the list as well. Sorry. Hit the wrong button. -- Daniel Egeberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What is the difference between the two streams 5.3 and 5.2 versions and What is the need for maintaining two streams?
Varuna Seneviratna wrote: Since there are two stable versions 5.3 and 5.2 .What is the difference between these two streams and What is the need for maintaining two streams? PHP5.3 introduced a number of 'improvements' that require many third party packages to be re-worked. Something which has still to be completed in many cases. In addition a number of key parts are not now available in Windows builds of PHP5.3, so many of us do not have the option as yet to switch TO the 5.3 branch in production. Until PHP5.3 is fully supported and complete, 5.2 still needs to be maintained! -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What is the difference between the two streams 5.3 and 5.2 versions and What is the need for maintaining two streams?
5.3.1 is what we call 'current release'. for those who do not like to sit on the edge, the latest is 5.2.12. both get bug fixes (checkout the home page release announcements), so they are 'still supported'. that means those versions earlier to 5.2.11 do not get bug fixes hence 'not supported but stable' http://en.wikipedia.org/wiki/PHP ~viraj On Tue, Jan 5, 2010 at 7:22 AM, Varuna Seneviratna wrote: > Since there are two stable versions 5.3 and 5.2 .What is the difference > between these two streams and What is the need for maintaining two streams? > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] What is the difference between the two streams 5.3 and 5.2 versions and What is the need for maintaining two streams?
Since there are two stable versions 5.3 and 5.2 .What is the difference between these two streams and What is the need for maintaining two streams?
Re: [PHP] What is the difference: include()
CPT John W. Holmes wrote: Well, the first part is out your butt... :) Yep. I tested it after making the assumption, sure enough I was WRONG. I've got to keep my butt under control, it's getting a little out of hand. To the OP, sorry 'bout that. Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What is the difference: include()
> > If you had a constant named "somefile" or "php" and you use the second > > syntax, the constant would be interpolated/evaluated to the value of the > > constant. > > > > Generally I always use single quoted strings unless there's some need > > for double-quoted strings (like if I want to embed a variable) so > > something like this can't happen. > > BTW, I'm talking out my butt here, but it might be true. The advice is > still sound, regardless. Well, the first part is out your butt... :) but the second part is sound advice. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What is the difference: include()
Erik Price wrote: BTW, I'm talking out my butt here. I was wondering what that smell was. :o -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What is the difference: include()
Erik Price wrote: If you had a constant named "somefile" or "php" and you use the second syntax, the constant would be interpolated/evaluated to the value of the constant. Generally I always use single quoted strings unless there's some need for double-quoted strings (like if I want to embed a variable) so something like this can't happen. BTW, I'm talking out my butt here, but it might be true. The advice is still sound, regardless. Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What is the difference: include()
Charles Kline wrote: What is the difference as in... why one or the other? include('somefile.php'); include("somefile.php"); Just wondering... If you had a constant named "somefile" or "php" and you use the second syntax, the constant would be interpolated/evaluated to the value of the constant. Generally I always use single quoted strings unless there's some need for double-quoted strings (like if I want to embed a variable) so something like this can't happen. Also good idea to only use capital letters for constants. Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What is the difference: include()
- Original Message - From: "Charles Kline" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 17, 2003 11:57 AM Subject: [PHP] What is the difference: include() > What is the difference as in... why one or the other? > > include('somefile.php'); > > include("somefile.php"); > > Just wondering... > > - ck There is no difference in functionality of your example. Single quotes assumes a litteral string. Double quotes assumes variables within the string are parsed. In other words: $myvar = 'foo'; echo '$myvar bar'; // prints "$myvar bar" echo "$myvar bar"; // prints "foo bar" HTH, Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What is the difference: include()
> What is the difference as in... why one or the other? > > include('somefile.php'); > > include("somefile.php"); > > Just wondering... No difference as far as include() goes. Read the manual on strings to see how PHP treats strings in single and double quotes differently. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What is the difference: include()
perfect. thanks for the explanation. cheers, charles On Monday, March 17, 2003, at 02:01 PM, Pete James wrote: Only that you can embed vars in the second one. if $foo='bar'; include('somefile_{$foo}'); will include the file 'somefile{$foo}', where include("somefile_{$foo}"); will include the file 'somefile_bar' HTH. Charles Kline wrote: What is the difference as in... why one or the other? include('somefile.php'); include("somefile.php"); Just wondering... - ck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What is the difference: include()
Only that you can embed vars in the second one. if $foo='bar'; include('somefile_{$foo}'); will include the file 'somefile{$foo}', where include("somefile_{$foo}"); will include the file 'somefile_bar' HTH. Charles Kline wrote: What is the difference as in... why one or the other? include('somefile.php'); include("somefile.php"); Just wondering... - ck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] What is the difference: include()
What is the difference as in... why one or the other? include('somefile.php'); include("somefile.php"); Just wondering... - ck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] what is the difference between function and language construct?
Because $a=5 is not 'empty'. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: bob [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 5:19 PM To: [EMAIL PROTECTED] Subject: [PHP] what is the difference between function and language construct? why this get wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.332 / Virus Database: 186 - Release Date: 3/6/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.332 / Virus Database: 186 - Release Date: 3/6/2002 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] what is the difference between function and language construct?
why this get wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] What is the difference?
What's the difference between these two variable? $HTTP_POST_FILES["imageFile"]["name"][0] $HTTP_POST_FILES["imageFile"]["name"][1] $imageFile["name"][0] $imageFile["name"][1] The reason why I ask this is I get this error below when I echo out $imageFile["name"][0] etc. Warning: Undefined index: name in /home/lbjs/lbjs.com/htdocs/user_admin/redirect.php on line 1787 Thanks, jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] What is the difference between session_unset() and session_destroy()?
Anyway, session_unset() only unset session vars in memory, but session_destroy() deletes session vars from storage. i.e. You can free storage with session_destroy() without waiting garbage collection. Unless programmer discards session id, session data will be created with the same session id, though. -- Yasuo Ohgaki "Carfield Yim" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > From the manual, > session_unset ¡X Free all session variables > session_destroy ¡X Destroys all data registered to a session > > What do this document exactly mean? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] What is the difference between session_unset() and session_destroy()?
Erm...I believe session_unset unsets all variables in the session, leaving the session itself intact. While session_destroy deletes the entire session and all variables in it. But I'm not so sure. "Carfield Yim" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > From the manual, > session_unset ¡X Free all session variables > session_destroy ¡X Destroys all data registered to a session > > What do this document exactly mean? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] What is the difference between session_unset() and session_destroy()?
>From the manual, session_unset ¡X Free all session variables session_destroy ¡X Destroys all data registered to a session What do this document exactly mean? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]