Source Code:
(back to article)
<?php $example_array = [1, 2, 3]; if (is_array($example_array)) { echo "example_array is an array"; } else { echo "example_array is not an array"; }
Result:
Report an issue