Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.3K+ articles
DSA
22.5K+ articles
Python
20.5K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
JavaScript
11.6K+ articles
School Learning
11.4K+ articles
Java
10.5K+ articles
PHP
3.9K+ articles
PHP-function
2.3K+ articles
PHP-ds_queue
12 posts
Recent Articles
Popular Articles
PHP Ds\Queue Functions Complete Reference
Last Updated: 25 January 2023
A Queue is a linear data structure that follows a particular order in which the operations are performed. The order of queue is First In First Out (FIFO).Requirements: PHP...
read more
Web Technologies
PHP
PHP-ds_queue
PHP Ds\Queue allocate() Function
Last Updated: 23 August 2019
The Ds\Queue::allocate() Function in PHP is used to allocate memory for a Queue class instance. This function allocates sufficient memory for a given capacity for an insta...
read more
Web Technologies
PHP-function
PHP
PHP-ds_queue
PHP Ds\Queue isEmpty() Function
Last Updated: 23 August 2019
The Ds\Queue::isEmpty() Function in PHP is used to whether a particular Queue instance is empty or not. It returns True if the Queue is empty otherwise it returns False.Sy...
read more
Web Technologies
PHP-function
PHP
PHP-ds_queue
PHP Ds\Queue capacity() Function
Last Updated: 09 November 2020
The Ds\Queue::capacity() Function in PHP is used to check the current capacity of a Queue instance.Syntax:int public Ds\Queue::capacity ( void )Parameters: This function d...
read more
Web Technologies
PHP-function
PHP
PHP-ds_queue
PHP Ds\Queue peek() Function
Last Updated: 23 August 2019
The Ds\Queue::peek() Function in PHP is used to get the value present at the front of a Queue. This function simply returns the element present at the front of a Queue ins...
read more
Web Technologies
PHP-function
PHP
PHP-ds_queue
PHP Ds\Queue clear() Function
Last Updated: 09 November 2020
The Ds\Queue::clear() Function in PHP is used to clear all of the elements from a Queue instance. This function just clears the instance without deleting it.Syntax:void pu...
read more
Web Technologies
PHP-function
PHP
PHP-ds_queue
PHP Ds\Queue copy() Function
Last Updated: 23 August 2019
The Ds\Queue::copy() Function in PHP is used to create a shallow copy of a particular Queue instance. This function does not affect the existing Queue instance, it just cr...
read more
Web Technologies
PHP-function
PHP
PHP-ds_queue
PHP Ds\Queue pop() Function
Last Updated: 09 November 2020
The Ds\Queue::pop() Function in PHP is used to remove and return the value present at the top of the Queue. In other words, it returns the value present at the front of th...
read more
Web Technologies
PHP-function
PHP
PHP-ds_queue
PHP Ds\Queue push() Function
Last Updated: 23 August 2019
The Ds\Queue::push() Function in PHP is used to push or insert values in a PriorityQueue instance. This function can also insert a list of values directly to the Queue.Syn...
read more
Web Technologies
PHP-function
PHP
PHP-ds_queue
PHP Ds\Queue toArray() Function
Last Updated: 23 August 2019
The Ds\Queue::toArray() Function in PHP is used to convert a Queue into an associative array in PHP. The values of the Queue are assigned to the array in the same order as...
read more
Web Technologies
PHP-function
PHP
PHP-ds_queue
PHP Ds\Queue count() Function
Last Updated: 23 August 2019
The Ds\Queue::count() Function in PHP is used to get the count of elements present in a Queue instance.Syntax:int public Ds\Queue::count ( void )Parameters: This function ...
read more
Web Technologies
PHP-function
PHP
PHP-ds_queue
PHP | Ds\Deque map() Function
Last Updated: 14 August 2019
The Ds\Deque::map() function is an inbuilt function in PHP which is used to return the Deque with each element modified on the basis of operation performed as per the call...
read more
Web Technologies
PHP-function
PHP
PHP-ds_queue
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !