--TEST-- Bug GH-16032: Various NULL pointer dereferencements in ldap_modify_batch() --EXTENSIONS-- ldap --FILE-- "attrib1", "values" => ["value1"], ], ]; try { var_dump(ldap_modify_batch($ldap, $valid_dn, $modification_missing_modtype_key)); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } ?> --EXPECT-- ValueError: ldap_modify_batch(): Argument #3 ($modifications_info) a modification entry must contain the "modtype" option