PHP 7.4
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.4 - Popular snippets
- PHP 7.4 / printf phpversion
last run:
2025-01-31 17:55:46
199
- PHP 7.4 / MySQL 8.0 array_push print_r
last run:
2025-04-11 21:48:54
190
- PHP 7.4 / mysqli_query mysqli_num_rows ceil print_r
last run:
2025-01-31 18:00:39
185
- PHP 7.4 / MySQL 8.0 820e5474c0d2b27ecdb6f561ae33fb44null
last run:
2023-12-08 11:19:48
75
- PHP 7.4 / cd5a389d4af00b2fd8c8473283cb045bnull
last run:
2023-11-30 09:32:20
54
- PHP 7.4 / mt_rand count print_r
last run:
2023-03-15 14:02:45
53
- PHP 7.4 / printf phpversion
last run:
2023-07-10 13:49:43
49
- PHP 7.4 / MS SQL Server 2017 printf phpversion printf phpversion
last run:
2025-02-02 00:14:47
35
- PHP 7.4 / MySQL 8.0 rand min print_r array_sum
last run:
2022-09-29 20:44:59
27
PHP 7.4 - New snippets
-
PHP 7.4 / MySQL 8.0 preg_match date strtotime rtrim
added at:
2025-04-24 08:54:30
2
-
PHP 7.4 / MySQL 8.0 2d3e8a9fc0bf51e1439a94e8ce41c3eaundefined
added at:
2025-04-24 08:51:12
2
-
PHP 7.4 / MySQL 8.0 ftp_connect ftp_login
added at:
2025-04-24 08:50:38
1
-
PHP 7.4 / MySQL 8.0 header ftp_connect ftp_login
added at:
2025-04-24 08:48:49
1
-
PHP 7.4 / MySQL 8.0 header ftp_connect ftp_login
added at:
2025-04-24 08:46:39
1
-
PHP 7.4 / MySQL 8.0 header ftp_connect ftp_login
added at:
2025-04-24 08:43:53
1
-
PHP 7.4 / MS SQL Server 2019 print_r
added at:
2025-04-24 06:02:16
1
-
PHP 7.4 / MySQL 8.0 strip_tags
added at:
2025-04-22 08:42:24
1
-
PHP 7.4 / MySQL 8.0 72a3f4846e60df306ef45f948e7870b4undefined
added at:
2025-04-20 05:09:21
1
-
PHP 7.4 / MySQL 8.0 time setcookie header printf mysqli_free_result
added at:
2025-04-20 05:08:53
1