PHP 5.4.x HandbuchQuickHashIntStringHash::delete(PECL quickhash >= Unknown) QuickHashIntStringHash::delete — This method deletes am entry from the hash Beschreibung
public bool QuickHashIntStringHash::delete
( int
$key
)This method deletes an entry from the hash, and returns whether the entry was deleted or not. Associated memory structures will not be freed immediately, but rather when the hash itself is freed.
Elements can not be deleted when the hash is used in an iterator. The
method will not throw an exception, but simply return Parameter-Liste
Rückgabewerte
Beispiele
Beispiel #1 QuickHashIntStringHash::delete() example
<?php Das oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: bool(false) bool(true) bool(true) bool(false) bool(false)
![]() |
PHP-Index
Jobs für Webentwickler
|
|