mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Use ZEND_THIS macro to hide implementation details in extensions code.
This commit is contained in:
parent
8f2f80668e
commit
0f7f1498be
54 changed files with 688 additions and 687 deletions
|
@ -529,7 +529,7 @@ static PHP_METHOD(SQLite, sqliteCreateFunction)
|
|||
Z_PARAM_LONG(flags)
|
||||
ZEND_PARSE_PARAMETERS_END_EX(RETURN_FALSE);
|
||||
|
||||
dbh = Z_PDO_DBH_P(&EX(This));
|
||||
dbh = Z_PDO_DBH_P(ZEND_THIS);
|
||||
PDO_CONSTRUCT_CHECK;
|
||||
|
||||
if (!zend_is_callable(callback, 0, NULL)) {
|
||||
|
@ -601,7 +601,7 @@ static PHP_METHOD(SQLite, sqliteCreateAggregate)
|
|||
Z_PARAM_LONG(argc)
|
||||
ZEND_PARSE_PARAMETERS_END_EX(RETURN_FALSE);
|
||||
|
||||
dbh = Z_PDO_DBH_P(&EX(This));
|
||||
dbh = Z_PDO_DBH_P(ZEND_THIS);
|
||||
PDO_CONSTRUCT_CHECK;
|
||||
|
||||
if (!zend_is_callable(step_callback, 0, NULL)) {
|
||||
|
@ -661,7 +661,7 @@ static PHP_METHOD(SQLite, sqliteCreateCollation)
|
|||
Z_PARAM_ZVAL(callback)
|
||||
ZEND_PARSE_PARAMETERS_END_EX(RETURN_FALSE);
|
||||
|
||||
dbh = Z_PDO_DBH_P(&EX(This));
|
||||
dbh = Z_PDO_DBH_P(ZEND_THIS);
|
||||
PDO_CONSTRUCT_CHECK;
|
||||
|
||||
if (!zend_is_callable(callback, 0, NULL)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue