]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-7.4'
authorPeter Kokot <peterkokot@gmail.com>
Sat, 13 Jul 2019 00:10:17 +0000 (02:10 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Sat, 13 Jul 2019 00:10:17 +0000 (02:10 +0200)
* PHP-7.4:
  Convert all php_error_docref0 to php_error_docref

1  2 
ext/intl/timezone/timezone_class.cpp
ext/intl/transliterator/transliterator_class.c
ext/intl/transliterator/transliterator_methods.c
main/main.c
main/php.h

Simple merge
index c9e0f83c0ba26338cb8beebf822662c5d3634ae8,4417fba4f0510e1d6af1efa5d3cd23c98bef2ad7..e1134230e86da243b14c8b8cce871e810c72e4f7
@@@ -213,11 -235,13 +213,11 @@@ static zval *Transliterator_read_proper
  {
        zval *retval;
  
 -      TRANSLITERATOR_PROPERTY_HANDLER_PROLOG(return &EG(uninitialized_zval));
 -
        if( ( type != BP_VAR_R && type != BP_VAR_IS ) &&
                ( zend_binary_strcmp( "id", sizeof( "id" ) - 1,
 -              Z_STRVAL_P( member ), Z_STRLEN_P( member ) ) == 0 ) )
 +              ZSTR_VAL( name ), ZSTR_LEN( name ) ) == 0 ) )
        {
-               php_error_docref0( NULL, E_WARNING, "The property \"id\" is read-only" );
+               php_error_docref(NULL, E_WARNING, "The property \"id\" is read-only" );
                retval = &EG( uninitialized_zval );
        }
        else
@@@ -243,9 -269,9 +243,9 @@@ static zval *Transliterator_write_prope
        }
        if( ( scope != Transliterator_ce_ptr ) &&
                ( zend_binary_strcmp( "id", sizeof( "id" ) - 1,
 -              Z_STRVAL_P( member ), Z_STRLEN_P( member ) ) == 0 ) )
 +              ZSTR_VAL( name ), ZSTR_LEN( name ) ) == 0 ) )
        {
-               php_error_docref0( NULL, E_WARNING, "The property \"id\" is read-only" );
+               php_error_docref(NULL, E_WARNING, "The property \"id\" is read-only" );
        }
        else
        {
diff --cc main/main.c
Simple merge
diff --cc main/php.h
Simple merge