Skip to content

Change PHP_ZTS and PHP_DEBUG to bool to match their ZEND equivalents #13079

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 7, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ext/zip/tests/bug72660.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Bug #72660 (NULL Pointer dereference in zend_virtual_cwd)
zip
--SKIPIF--
<?php
if(PHP_ZTS == 0) { die('skip ZTS required'); }
if(!PHP_ZTS) { die('skip ZTS required'); }
?>
--FILE--
<?php
Expand Down
4 changes: 2 additions & 2 deletions main/main.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
*/
const PHP_VERSION_ID = UNKNOWN;
/**
* @var int
* @var bool
* @cvalue PHP_ZTS
*/
const PHP_ZTS = UNKNOWN;
/**
* @var int
* @var bool
* @cvalue PHP_DEBUG
*/
const PHP_DEBUG = UNKNOWN;
Expand Down
6 changes: 3 additions & 3 deletions main/main_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.