[ create a new paste ] login | about

Link: http://codepad.org/gtcfK0iC    [ raw code | output | fork ]

PHP, pasted on Mar 16:
1
2
3
4
5
6
7
8
<?php
$values = array(1,2);
if(isset($values[0][0])){
    echo "I am a multidimensional array!";
}else{
    echo "I am not a multidimensional array.";
}
?>


Output:
1
I am not a multidimensional array.


Create a new paste based on this one


Comments: