BEFORE SANITIZE:
Array
(
[missing] =>
[email] => not a valid email
[max_len] => 1234567890
[min_len] => 1
[exact_len] => 123456
[alpha] => *(^*^*&
[alpha_numeric] => abcdefg12345+
[alpha_dash] => abcdefg12345-_+
[alpha_numeric_space] => abcdefg12345_$^%%&TGY
[alpha_space] => abcdefg12345
[numeric] => one, two
[integer] => 1,003
[boolean] => this is not a boolean
[float] => not a float
[valid_url] =>
http://add
[url_exists] => http://asdasdasd354.gov
[valid_ip] => google.com
[valid_ipv4] => google.com
[valid_ipv6] => google.com
[valid_name] => *&((*S))(*09890uiadaiusyd)
[contains] => premium
[array_size_equal] => Array
(
[0] => 1
)
[array_size_greater] => Array
(
[0] => 1
)
[array_size_lesser] => Array
(
[0] => 1
[1] => 2
[2] => 3
)
)
AFTER SANITIZE:
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atina/public_html/vendor/wixel/gump/gump.class.php on line 316
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atina/public_html/vendor/wixel/gump/gump.class.php on line 316
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atina/public_html/vendor/wixel/gump/gump.class.php on line 316
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/atina/public_html/vendor/wixel/gump/gump.class.php on line 316
Array
(
[missing] =>
[email] => not a valid email
[max_len] => 1234567890
[min_len] => 1
[exact_len] => 123456
[alpha] => *(^*^*&
[alpha_numeric] => abcdefg12345+
[alpha_dash] => abalert(1);cdefg12345-_+
[alpha_numeric_space] => abcdefg12345_$^%%&TGY
[alpha_space] => abcdefg12345
[numeric] => one, two
[integer] => 1,003
[boolean] => this is not a boolean
[float] => not a float
[valid_url] => http://add
[url_exists] => http://asdasdasd354.gov
[valid_ip] => google.com
[valid_ipv4] => google.com
[valid_ipv6] => google.com
[valid_name] => *&((*S))(*09890uiadaiusyd)
[contains] => premium
[array_size_equal] => Array
(
[0] => 1
)
[array_size_greater] => Array
(
[0] => 1
)
[array_size_lesser] => Array
(
[0] => 1
[1] => 2
[2] => 3
)
)
THESE ALL FAIL:
Fatal error: Uncaught Exception: Validator method 'validate_validate_valid_array_size_equal' does not exist. in /home/atina/public_html/vendor/wixel/gump/gump.class.php:456
Stack trace:
#0 /home/atina/public_html/vendor/wixel/gump/tests.php(97): GUMP->validate(Array, Array)
#1 {main}
thrown in /home/atina/public_html/vendor/wixel/gump/gump.class.php on line 456