mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
Cosmetics (removed space on error message)
This commit is contained in:
parent
ddc8a63168
commit
579e46dd76
@ -895,14 +895,14 @@ fetch_string_dim:
|
||||
if (zend_symtable_find(ht, offset_key, offset_key_length+1, (void **) &retval) == FAILURE) {
|
||||
switch (type) {
|
||||
case BP_VAR_R:
|
||||
zend_error(E_NOTICE, "Undefined index: %s", offset_key);
|
||||
zend_error(E_NOTICE, "Undefined index: %s", offset_key);
|
||||
/* break missing intentionally */
|
||||
case BP_VAR_UNSET:
|
||||
case BP_VAR_IS:
|
||||
retval = &EG(uninitialized_zval_ptr);
|
||||
break;
|
||||
case BP_VAR_RW:
|
||||
zend_error(E_NOTICE,"Undefined index: %s", offset_key);
|
||||
zend_error(E_NOTICE,"Undefined index: %s", offset_key);
|
||||
/* break missing intentionally */
|
||||
case BP_VAR_W: {
|
||||
zval *new_zval = &EG(uninitialized_zval);
|
||||
@ -928,14 +928,14 @@ num_index:
|
||||
if (zend_hash_index_find(ht, index, (void **) &retval) == FAILURE) {
|
||||
switch (type) {
|
||||
case BP_VAR_R:
|
||||
zend_error(E_NOTICE,"Undefined offset: %ld", index);
|
||||
zend_error(E_NOTICE,"Undefined offset: %ld", index);
|
||||
/* break missing intentionally */
|
||||
case BP_VAR_UNSET:
|
||||
case BP_VAR_IS:
|
||||
retval = &EG(uninitialized_zval_ptr);
|
||||
break;
|
||||
case BP_VAR_RW:
|
||||
zend_error(E_NOTICE,"Undefined offset: %ld", index);
|
||||
zend_error(E_NOTICE,"Undefined offset: %ld", index);
|
||||
/* break missing intentionally */
|
||||
case BP_VAR_W: {
|
||||
zval *new_zval = &EG(uninitialized_zval);
|
||||
|
Loading…
Reference in New Issue
Block a user