forked from xdebug/xdebug
-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHP 8.2: Include 'php.h' header through redirection, so I can turn of…
…f -Wdeclaration-after-statement for it
- Loading branch information
Showing
29 changed files
with
83 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
+----------------------------------------------------------------------+ | ||
| Xdebug | | ||
+----------------------------------------------------------------------+ | ||
| Copyright (c) 2002-2020 Derick Rethans | | ||
| Copyright (c) 2002-2022 Derick Rethans | | ||
+----------------------------------------------------------------------+ | ||
| This source file is subject to version 1.01 of the Xdebug license, | | ||
| that is bundled with this package in the file LICENSE, and is | | ||
|
@@ -13,7 +13,7 @@ | |
| [email protected] so we can mail you a copy immediately. | | ||
+----------------------------------------------------------------------+ | ||
*/ | ||
#include "php.h" | ||
#include "lib/php-header.h" | ||
#include "zend_exceptions.h" | ||
|
||
#include "php_xdebug.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
+----------------------------------------------------------------------+ | ||
| Xdebug | | ||
+----------------------------------------------------------------------+ | ||
| Copyright (c) 2002-2021 Derick Rethans | | ||
| Copyright (c) 2002-2022 Derick Rethans | | ||
+----------------------------------------------------------------------+ | ||
| This source file is subject to version 1.01 of the Xdebug license, | | ||
| that is bundled with this package in the file LICENSE, and is | | ||
|
@@ -13,7 +13,7 @@ | |
| [email protected] so we can mail you a copy immediately. | | ||
+----------------------------------------------------------------------+ | ||
*/ | ||
#include "php.h" | ||
#include "lib/php-header.h" | ||
#include "zend_builtin_functions.h" | ||
#include "SAPI.h" | ||
#include "Zend/zend_long.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
+----------------------------------------------------------------------+ | ||
| Xdebug | | ||
+----------------------------------------------------------------------+ | ||
| Copyright (c) 2002-2021 Derick Rethans <[email protected]> | | ||
| Copyright (c) 2002-2022 Derick Rethans <[email protected]> | | ||
| (c) 1997-2004 Jim Winstead <[email protected]> | | ||
| (c) 1998-2004 Andi Gutmans <[email protected]> and | | ||
| Zeev Suraski <[email protected]> | | ||
|
@@ -39,7 +39,7 @@ | |
+----------------------------------------------------------------------+ | ||
*/ | ||
|
||
#include "php.h" | ||
#include "lib/php-header.h" | ||
#include "main/php_version.h" | ||
#include "compat.h" | ||
#include "zend_extensions.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
+----------------------------------------------------------------------+ | ||
| Xdebug | | ||
+----------------------------------------------------------------------+ | ||
| Copyright (c) 2002-2022 Derick Rethans | | ||
+----------------------------------------------------------------------+ | ||
| This source file is subject to version 1.01 of the Xdebug license, | | ||
| that is bundled with this package in the file LICENSE, and is | | ||
| available at through the world-wide-web at | | ||
| https://xdebug.org/license.php | | ||
| If you did not receive a copy of the Xdebug license and are unable | | ||
| to obtain it through the world-wide-web, please send a note to | | ||
| [email protected] so we can mail you a copy immediately. | | ||
+----------------------------------------------------------------------+ | ||
*/ | ||
|
||
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wdeclaration-after-statement" | ||
#include "php.h" | ||
#pragma GCC diagnostic pop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
|
||
#include <stddef.h> | ||
|
||
#include "php.h" | ||
#include "lib/php-header.h" | ||
|
||
#include "mm.h" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.