PHP 7
-
Upload
the-software-house -
Category
Software
-
view
1.023 -
download
2
Transcript of PHP 7
![Page 1: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/1.jpg)
Maciej Miara, Wrzesień 2015
It’s evolution, babe!
![Page 2: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/2.jpg)
![Page 3: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/3.jpg)
Oh, wait… ten kod jest dalej używany…
![Page 4: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/4.jpg)
![Page 5: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/5.jpg)
•
•
•
•
![Page 6: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/6.jpg)
![Page 7: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/7.jpg)
![Page 8: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/8.jpg)
![Page 9: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/9.jpg)
![Page 10: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/10.jpg)
•
•
![Page 11: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/11.jpg)
use SuperProject\ImportantPackage\ClassA;
use SuperProject\ImportantPackage\ClassB;use SuperProject\ImportantPackage\SubPackage\ClassC;
use SuperProject\ImportantPackage\{ClassA,ClassB,
SubPackage\ClassC,function SubPackage\importantFunction,const SPECIAL_CONST
};
![Page 12: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/12.jpg)
•
•
![Page 13: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/13.jpg)
• EngineException• ParseException (eval)• BaseException
![Page 14: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/14.jpg)
• ereg• mysql• przypisanie nowego obiektu przez referencję• statyczne wywołanie niestatycznej metody• konstruktory znane z PHP4• stare tagi <% %> <script language=„php”>• sporo starych funkcji• wszystko, co zostało oznaczone jako deprecated
(https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7)
![Page 15: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/15.jpg)
ms
![Page 16: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/16.jpg)
ms
![Page 17: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/17.jpg)
Nie rewolucja, a ewolucja…
![Page 18: PHP 7](https://reader031.fdocuments.pl/reader031/viewer/2022030301/587f3ded1a28ab43318b50a9/html5/thumbnails/18.jpg)