--TEST-- Bug GH-16132: Attempting to free pointer not allocated by ZMM --EXTENSIONS-- ldap --FILE-- new stdClass(), 'attribute2' => [ 'value1', 'value2', ], ]; try { var_dump(ldap_add($ldap, $valid_dn, $dict_key_value_not_string)); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } ?> --EXPECT-- Error: Object of class stdClass could not be converted to string