• Email
  • Like
  • Save
  • Private Content
  • Embed
 

What's New in PHP 5.4

by

  • 5,729 views

A quick overview of some of the changes and new features in PHP 5.4 including binary notation, short-hand arrays, dereferencing arrays, traits, class instantiation chaining, session_status, ...

A quick overview of some of the changes and new features in PHP 5.4 including binary notation, short-hand arrays, dereferencing arrays, traits, class instantiation chaining, session_status, sessionHandler, session file upload tracking, and the new built in web server.

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

8 Embeds 198

http://www.redditmedia.com 98
http://www.jefersonperito.com 29
http://www.mikestowe.com 26
http://localhost 20
http://magic-software.ro 13
http://www.linkedin.com 8
https://twitter.com 3
http://wonder-tonic.com 1

More...

Statistics

Likes
5
Downloads
109
Comments
3
Embed Views
198
Views on SlideShare
5,531
Total Views
5,729

13 of 3 previous next Post a comment

  • NecipSAMIM Najeeb Samim at Aria Systems in the previous version of PHP I was using SESSION_START( ); in login-form loading page, there were no problem, it was working properly, but now with the PHP 5.4.8 its not supporting(not loading the page which comes after login-form) for e.g: session_start(); include ('con.php'); // username and password sent from form $myusername=$_POST['myusername']; $mypassword=$_POST['mypassword']; // To protect MySQL injection (more detail about MySQL injection) $myusername = stripslashes($myusername); $mypassword = stripslashes($mypassword); $myusername = mysql_real_escape_string($myusername); $mypassword = mysql_real_escape_string($mypassword); $sql='SELECT * FROM members WHERE username='$myusername' and password='$mypassword''; $result=mysql_query($sql); // Mysql_num_row is counting table row $count=mysql_num_rows($result); // If result matched $myusername and $mypassword, table row must be 1 row if($count==1){ // Register $myusername, $mypassword and redirect to file 'login_success.php' session_register('myusername'); session_register('mypassword'); header('location:login_success.php'); } else { header('location:index.php'); } . Can anyone asset me please, 5 months ago
    Are you sure you want to
  • mikestowe Michael Stowe, Developer Advocate at Constant Contact Thanks Mak! Just a couple corrections:
    - break and continue are statements and not functions, so disregard the parenthesis following them.

    - http_response_codes should be http_response_code (singular)

    - And zend.multibyte support is actually 'off' by default
    1 year ago
    Are you sure you want to
  • makdiose Mak Diose, PHP Team Lead at Pti This is very nice and awesome. thanks for sharing Michael. 1 year ago
    Are you sure you want to
Post Comment
Edit your comment

What’s New in PHP 5.4 What’s New in PHP 5.4 Presentation Transcript