Name
print_r
Synopsis
bool print_r(mixed value
)
Outputs value
in a human-readable manner.
If value
is a string, integer, or double,
the value itself is output; if it is an array, the keys and elements
are shown; and if it is an object, the keys and values for the object
are displayed. This function returns true
.
Get Programming PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.