Good Data:
/var/www/html/php7cookbook/source/chapter06/chap_06_post_data_validation.php:83:
array (size=10)
  'first_name' => boolean true
  'last_name' => boolean true
  'address' => boolean true
  'city' => boolean true
  'state_province' => boolean true
  'postal_code' => boolean true
  'phone' => boolean true
  'country' => boolean true
  'email' => boolean true
  'budget' => boolean true
Bad Data: first_name : Item must contain only letters and numbers last_name : Length must be no more than 128 address : Item Missing city : Length must be no more than 64 state_province : Item Missing postal_code : Length must be no more than 16 postal_code : Item must contain only letters and numbers phone : Phone number must be in a format [+n] nnn-nnn-nnnn country : Item was not found in the list of valid values email : Invalid email address budget : Item must contain only numbers or decimal point
/var/www/html/php7cookbook/source/chapter06/chap_06_post_data_validation.php:89:
array (size=10)
  'first_name' => boolean false
  'last_name' => boolean false
  'address' => boolean false
  'city' => boolean false
  'state_province' => boolean false
  'postal_code' => boolean false
  'phone' => boolean false
  'country' => boolean false
  'email' => boolean false
  'budget' => boolean false