PHP 7
During 2014 and 2015, a new major PHP version was developed, PHP 7. The numbering of this version involved some debate among internal developers. While the PHP 6 Unicode experiment had never been released, several articles and book titles referenced the PHP 6 name, which might have caused confusion if a new release were to reuse the name. After a vote, the name PHP 7 was chosen.
The foundation of PHP 7 is a PHP branch that was originally dubbed PHP next generation (phpng). It was authored by Dmitry Stogov, Xinchen Hui and Nikita Popov, and aimed to optimize PHP performance by refactoring the Zend Engine while retaining near-complete language compatibility. By 14 July 2014, WordPress-based benchmarks, which served as the main benchmark suite for the phpng project, showed an almost 100% increase in performance. Changes from phpng make it easier to improve performance in future versions, as more compact data structures and other changes are seen as better suited for a successful migration to a just-in-time (JIT) compiler. Because of the significant changes, the reworked Zend Engine was called Zend Engine 3, succeeding Zend Engine 2 used in PHP 5.
PHP 7 - Popular snippets
- PHP 7 / MySQL 8.0 array_push print_r
last run:
2022-05-10 20:27:14
28
- PHP 7 / MySQL 8.0 820e5474c0d2b27ecdb6f561ae33fb44null
last run:
2022-05-18 06:50:20
19
- PHP 7 / MySQL 5.7 microtime round
last run:
2022-03-10 19:44:01
19
- PHP 7 / MySQL 8.0 ff46fef22cb57979f1280d43f0ad2729null
last run:
2022-03-08 18:18:28
19
- PHP 7 / MySQL 5.7 cd5a389d4af00b2fd8c8473283cb045bnull
last run:
2022-05-13 11:22:00
18
- PHP 7 / MySQL 5.7 print_r
last run:
2022-04-05 16:31:53
16
- PHP 7 / MySQL 5.7 var_dump array_map
last run:
2021-07-08 14:53:08
16
- PHP 7 / MySQL 5.7 printf phpversion
last run:
2022-03-24 05:13:40
14
- PHP 7 / MySQL 5.7 array_reduce array_merge unserialize array_count_values arsort
last run:
2021-10-20 07:49:30
14
PHP 7 - New snippets
-
PHP 7 / MySQL 5.7 printf phpversion
added at:
2022-05-25 17:25:08
1
-
PHP 7 / MySQL 8.0 floor
added at:
2022-05-24 06:44:13
1
-
PHP 7 / MySQL 8.0 floor
added at:
2022-05-24 06:36:42
1
-
PHP 7 / MySQL 8.0 floor
added at:
2022-05-24 06:36:31
1
-
PHP 7 / MySQL 8.0 floor
added at:
2022-05-24 06:33:35
1
-
PHP 7 / MySQL 8.0 floor floor
added at:
2022-05-24 06:30:39
1
-
PHP 7 / MySQL 8.0 ceil
added at:
2022-05-24 05:53:46
1
-
PHP 7 / MySQL 8.0 ceil
added at:
2022-05-24 05:53:24
1
-
PHP 7 / MySQL 8.0 388c82a03b94fdfdb114f2ce4d2180c10e023b9d26f85aeaa575b99487accc19
added at:
2022-05-24 05:53:15
1