@@ -2356,13 +2356,13 @@ static zval *row_dim_read(zend_object *object, zval *member, int type, zval *rv)
23562356
23572357static zval * row_prop_write (zend_object * object , zend_string * name , zval * value , void * * cache_slot )
23582358{
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 " );
23602360 return value ;
23612361}
23622362
23632363static void row_dim_write (zend_object * object , zval * member , zval * value )
23642364{
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 " );
23662366}
23672367
23682368static 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)
24392439
24402440static void row_prop_delete (zend_object * object , zend_string * offset , void * * cache_slot )
24412441{
2442- php_error_docref (NULL , E_WARNING , "Cannot delete properties from a PDORow" );
2442+ zend_throw_error (NULL , "Cannot unset PDORow property " );
24432443}
24442444
24452445static void row_dim_delete (zend_object * object , zval * offset )
24462446{
2447- php_error_docref (NULL , E_WARNING , "Cannot delete properties from a PDORow" );
2447+ zend_throw_error (NULL , "Cannot unset PDORow offset " );
24482448}
24492449
24502450static HashTable * row_get_properties_for (zend_object * object , zend_prop_purpose purpose )
0 commit comments