[php-src] PR #17082: Fix bug #79075: FFI header parser chokes on comments

From: Date: Sat, 07 Dec 2024 22:39:34 +0000
Subject: [php-src] PR #17082: Fix bug #79075: FFI header parser chokes on comments
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29931@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/17082 Author: nielsdos The directives for FFI should be first in the file, which is fine, however sometimes there can be comments or whitespace before or between these defines. One practical example is for license information or when a user adds newlines "by accident". In these cases, it's quite confusing that the directives do not work properly. To solve this, make the zend_ffi_parse_directives() aware of comments.

« previous php.git-pulls (#29931) next »