HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP Array Reference : Delete the last element of an array
The array_pop() function deletes the last element of an array.
Parameter | Description |
---|---|
array | Required. Specifies an array |
Return Value: | Returns the last value of array. If array is empty, or is not an array, NULL will be returned. |
---|---|
PHP Version: | 4+ |
❮ PHP Array Reference