What PHP learned from Python
summary
Compares concrete moves: Python 2→3 breaks (string/iterator API changes, removal of helper names) slow adoption over seven years with many users stuck on Python 2.7, migration tools like 2to3 and the six shim, and the late reinstatement of the u'' literal in 3.3. Contrasts PHP 7 choices: keep legacy MySQL API warnings from 5.5, preserve B'' syntax and messy stdlib signatures while adding new APIs later, and push a clear carrot — ~3x performance — driving fast uptake to ~90% of package users.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:40PHP background
- 2:25PHP versioning
- 3:19Upgrade
- 6:17Carrots Sticks
- 6:50Strings
- 9:09Compatibility
- 13:10Binary strings
- 14:49Iteration
- 18:16Future imports
- 21:46Carrots
related talks
49mThe why and the how of moving to 7.x
46mThe PHP Journey: To PHP 7 and Beyond
38m25 years of PHP
58mWhat To Expect From PHP7
26mPython 2 to 3: How to Upgrade and What Features to Start Using
49mPanel Discussion: The Future of PHP
31mIntroduce Syntax and History of Python from 2.4 to 3.6
41mThe new features of PHP 7
