1234 0 1 array(0) { } array(3) { [0]=> string(1) "A" [1]=> string(1) "B" [2]=> string(1) "C" } Argument 1 passed to GetSet::setArrVal() must be of the type array, string given, called in /var/www/html/php7cookbook/source/chapter10/chap_10_oop_using_getters_and_setters_defaults.php on line 57