. SplHeap::compare($a, $b) now specifies a method signature. Inheriting
classes implementing this method will now have to use a compatible
method signature.
+ . SplDoublyLinkedList::push() now returns void instead of true
+ . SplDoublyLinkedList::unshift() now returns void instead of true
+ . SplQueue::enqueue() now returns void instead of true
- Standard:
. assert() will no longer evaluate string arguments, instead they will be
intern = Z_SPLDLLIST_P(ZEND_THIS);
spl_ptr_llist_push(intern->llist, value);
-
- RETURN_TRUE;
}
/* }}} */
intern = Z_SPLDLLIST_P(ZEND_THIS);
spl_ptr_llist_unshift(intern->llist, value);
-
- RETURN_TRUE;
}
/* }}} */
/**
* @param mixed $value
- * @return bool
+ * @return void
*/
public function push($value) {}
/**
* @param mixed $value
- * @return bool
+ * @return void
*/
public function unshift($value) {}
{
/**
* @param mixed $value
- * @return bool
+ * @return void
*/
public function enqueue($value) {}