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 / MySQL 8.0 array_push print_r
last run:
2025-04-11 21:48:54
190
- PHP 7.4 / MySQL 8.0 820e5474c0d2b27ecdb6f561ae33fb44null
last run:
2023-12-08 11:19:48
75
- 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 / MySQL 8.0 printf phpversion
last run:
2023-04-21 07:14:19
25
- PHP 7.4 / MySQL 8.0 59489b59abe4a44c0c89c2b37a538da5null
last run:
2025-03-24 10:25:54
25
- PHP 7.4 / MySQL 8.0 ff46fef22cb57979f1280d43f0ad2729null
last run:
2022-09-01 11:34:46
20
- PHP 7.4 / MS SQL Server 2017 time print_r
last run:
2023-09-06 16:21:26
16
- PHP 7.4 / MySQL 8.0 mysqli_prepare mysqli_fetch_array
last run:
2023-07-15 06:41:31
15
PHP 7.4 - New snippets
-
PHP 7.4 / MySQL 8.0 05fa63c50e5729a095303a3883612efbundefined
added at:
2025-07-09 10:57:04
1
-
PHP 7.4 / MariaDB 11.4 explode print_r count
added at:
2025-07-08 15:43:41
2
-
PHP 7.4 / MariaDB 11.4 explode print_r implode
added at:
2025-07-08 15:43:14
1
-
PHP 7.4 / MariaDB 11.4 explode print_r array_shift
added at:
2025-07-08 15:40:37
1
-
PHP 7.4 / MariaDB 11.4 explode print_r
added at:
2025-07-08 15:40:07
1
-
PHP 7.4 / MySQL 9.3.0 get_included_files
added at:
2025-07-08 04:05:14
1
-
PHP 7.4 / MySQL 8.0 dirname is_file printf
added at:
2025-07-08 03:14:11
1
-
PHP 7.4 / MySQL 8.0 d5420a6c025f442d216c6f36decb6fcd028bf290f290ddd9aa1ede3a47b6a25e
added at:
2025-07-05 17:33:28
1
-
PHP 7.4 / MariaDB 10 feabe5cc691b088d6ade3e04d6b120fc028bf290f290ddd9aa1ede3a47b6a25e
added at:
2025-07-05 17:31:20
1
-
PHP 7.4 / MySQL 8.0 htmlspecialchars
added at:
2025-07-05 17:22:54
3