This is a discussion on features of PHP5 - I within the PHP Programming forums, part of the Web Development category; 1. Some new Key words Given Below, are added in PHP5.0 • Exception • Final • Interface • Implements • Abstract • Public • Private • Protected • ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| 1. Some new Key words Given Below, are added in PHP5.0 • Exception • Final • Interface • Implements • Abstract • Public • Private • Protected • Clone • Try • Catch • Throw • Php_User_Filter 2. In Strrpos() and Strripos(), We can use the entire string as the needle. 3. When calling string offsets while we there is only string without offset, it causes E_ERROR instead of E_WARNING where it happens in older versions. 4. The array_merge() was to accept only arrays rather than in older versions. If a non-array variable is passed, a E_WARNING will be shown for every such parameter. 5. The T_ML_COMMENT constant is no longer defined by the Tokenizer extension. If error_reporting is set to E_ALL, PHP will generate a notice. Although the T_ML_COMMENT was never used at all, it was defined in PHP 4. In both PHP 4 and PHP 5 // and /* */ are resolved as the T_COMMENT constant. 6. The PHPDoc style comments /** */, are parsed by PHP, are recognized as T_DOC_COMMENT. 7. When using the interfaces, classes must be declared before we define the class in Php5. But we are not using the interface in older version.
__________________ J.Vijayanand |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Php5 | venkatbi | PHP Programming | 29 | 02-13-2008 03:14 AM |
| Difference between php 4 and php5? | Sabari | PHP Programming | 57 | 09-04-2007 05:52 AM |
| features of PHP5 - II | vijayanand | PHP Programming | 0 | 07-16-2007 11:54 PM |
| Python features or derived its features? | vigneshgets | Python | 1 | 07-12-2007 12:21 AM |
| features or derived its features? | vigneshgets | Python | 0 | 05-30-2007 05:15 AM |