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:
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 Error: Call to undefined function idn_to_ascii() in /home/cbsrmt/public_html/vendor/wixel/gump/gump.class.php:1472
Stack trace:
#0 /home/cbsrmt/public_html/vendor/wixel/gump/gump.class.php(432): GUMP->validate_url_exists('url_exists', Array, NULL)
#1 /home/cbsrmt/public_html/vendor/wixel/gump/tests.php(97): GUMP->validate(Array, Array)
#2 {main}
thrown in /home/cbsrmt/public_html/vendor/wixel/gump/gump.class.php on line 1472