@@ -2356,13 +2356,13 @@ static zval *row_dim_read(zend_object *object, zval *member, int type, zval *rv)
2356
2356
2357
2357
static zval * row_prop_write (zend_object * object , zend_string * name , zval * value , void * * cache_slot )
2358
2358
{
2359
- php_error_docref (NULL , E_WARNING , "This PDORow is not from a writable result set " );
2359
+ zend_throw_error (NULL , "Cannot write to PDORow property " );
2360
2360
return value ;
2361
2361
}
2362
2362
2363
2363
static void row_dim_write (zend_object * object , zval * member , zval * value )
2364
2364
{
2365
- php_error_docref (NULL , E_WARNING , "This PDORow is not from a writable result set " );
2365
+ zend_throw_error (NULL , "Cannot write to PDORow offset " );
2366
2366
}
2367
2367
2368
2368
static int row_prop_exists (zend_object * object , zend_string * name , int check_empty , void * * cache_slot )
@@ -2439,12 +2439,12 @@ static int row_dim_exists(zend_object *object, zval *member, int check_empty)
2439
2439
2440
2440
static void row_prop_delete (zend_object * object , zend_string * offset , void * * cache_slot )
2441
2441
{
2442
- php_error_docref (NULL , E_WARNING , "Cannot delete properties from a PDORow" );
2442
+ zend_throw_error (NULL , "Cannot unset PDORow property " );
2443
2443
}
2444
2444
2445
2445
static void row_dim_delete (zend_object * object , zval * offset )
2446
2446
{
2447
- php_error_docref (NULL , E_WARNING , "Cannot delete properties from a PDORow" );
2447
+ zend_throw_error (NULL , "Cannot unset PDORow offset " );
2448
2448
}
2449
2449
2450
2450
static HashTable * row_get_properties_for (zend_object * object , zend_prop_purpose purpose )
0 commit comments