Hypertext Preprocessor is a general-purpose programming language!

PHP for Mac

PHP for Mac

  -  20.69 MB  -  Open Source
PHP for Mac is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP for macOS powers everything from your blog to the most popular websites in the world.

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

Instead of lots of commands to output HTML (as seen in C or Perl), pages contain HTML with embedded code that does "something" (in this case, output "Hi, I'm a PHP script!"). The code is enclosed in special start and end processing instructions that allow you to jump into and out of "PHP mode."

What distinguishes PHP for macOS from something like client-side JavaScript is that the code is executed on the server, generating HTML which is then sent to the client. The client would receive the results of running that script, but would not know what the underlying code was. You can even configure your web server to process all your HTML files with PHP, and then there's really no way that users can tell what you have up your sleeve.

The best things in using PHP are that it is extremely simple for a newcomer, but offers many advanced features for a professional programmer. Don't be afraid reading the long list of PHP's features. You can jump in, in a short time, and start writing simple scripts in a few hours.

Also Available: Download PHP for Windows

What's new in this version:

BcMath:
- Fixed bug GH-16978 (Avoid unnecessary padding with leading zeros)

Calendar:
- Fixed jdtogregorian overflow
- Fixed cal_to_jd julian_days argument overflow

COM:
- Fixed bug GH-16991 (Getting typeinfo of non DISPATCH variant segfaults)

Core:
- Fail early in *nix configuration build script
- Fixed bug GH-16344 (setRawValueWithoutLazyInitialization() and skipLazyInitialization() may change initialized proxy)
- Fixed bug GH-16727 (Opcache bad signal 139 crash in ZTS bookworm (frankenphp))
- Fixed bug GH-16799 (Assertion failure at Zend/zend_vm_execute.h:7469)
- Fixed bug GH-16630 (UAF in lexer with encoding translation and heredocs)
- Fix is_zend_ptr() huge block comparison
- Fixed potential OOB read in zend_dirname() on Windows
- Fixed bug GH-15964 (printf() can strip sign of -INF)

Curl:
- Fixed bug GH-16802 (open_basedir bypass using curl extension)
- Fix various memory leaks in curl mime handling
- DBA
- Fixed bug GH-16990 (dba_list() is now zero-indexed instead of using resource ids) (kocsismate

DOM:
- Fixed bug GH-16777 (Calling the constructor again on a DOM object after it is in a document causes UAF)
- Fixed bug GH-16906 (Reloading document can cause UAF in iterator)

FPM:
- Fixed GH-16432 (PHP-FPM 8.2 SIGSEGV in fpm_get_status)
- Fixed bug GH-16932 (wrong FPM status output)

GD:
- Fixed GH-16776 (imagecreatefromstring overflow)

GMP:
- Fixed bug GH-16890 (array_sum() with GMP can loose precision (LLP64))

Hash:
- Fixed GH-16711: Segfault in mhash()

Opcache:
- Fixed bug GH-16851 (JIT_G(enabled) not set correctly on other threads)
- Fixed bug GH-16902 (Set of opcache tests fail zts+aarch64)
- Fixed bug GH-16879 (JIT dead code skipping does not update call_level)

OpenSSL:
- Prevent unexpected array entry conversion when reading key
- Fix various memory leaks related to openssl exports
- Fix memory leak in php_openssl_pkey_from_zval()

PDO:
- Fixed memory leak of `setFetchMode()`

Phar:
- Fixed bug GH-16695 (phar:// tar parser and zero-length file header blocks)

PHPDBG:
- Fixed bug GH-15208 (Segfault with breakpoint map and phpdbg_clear())

SAPI:
- Fixed bug GH-16998 (UBSAN warning in rfc1867)

SimpleXML:
- Fixed bug GH-16808 (Segmentation fault in RecursiveIteratorIterator ->current() with a xml element input)

SOAP:
- Fix make check being invoked in ext/soap

Standard:
- Fixed bug GH-16905 (Internal iterator functions can't handle UNDEF properties)
- Fixed bug GH-16957 (Assertion failure in array_shift with self-referencing array)

Streams:
- Fixed network connect poll interuption handling

Windows:
- Fixed bug GH-16849 (Error dialog causes process to hang)
- Windows Server 2025 is now properly reported