Validate_AU

From: Date: Wed, 05 Oct 2005 11:00:20 +0000
Subject: Validate_AU
Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-3091@lists.php.net to get a copy of this message
Bonjour, I would suggest to pull out Validate_AU After right pear install, run the test: $ php -q validate_AU.php Test Validate_AU **************** Test postalCode without check against table 5251: YES 5000: YES 4664: YES 2491: YES 1000: YES 9999: YES abc: NO a7000: NO Test postalCode with check against table (strong) PHP Notice: Undefined index: PHP_PEAR_DATA_DIR in /usr/share/pear/Validate/AU.php on line 72 <br /> <b>Notice</b>: Undefined index: PHP_PEAR_DATA_DIR in <b>/usr/share/pear/Validate/AU.php</b> on line <b>72</b><br /> PHP Warning: file(/Validate_AU/AU_postcodes.txt): failed to open stream: No such file or directory in /usr/share/pear/Validate/AU.php on line 73 <br /> <b>Warning</b>: file(/Validate_AU/AU_postcodes.txt): failed to open stream: No such file or directory in <b>/usr/share/pear/Validate/AU.php</b> on line <b>73</b><br /> PHP Warning: array_map(): Argument #2 should be an array in /usr/share/pear/Validate/AU.php on line 73 <br /> <b>Warning</b>: array_map(): Argument #2 should be an array in <b>/usr/share/pear/Validate/AU.php</b> on line <b>73</b><br /> PHP Warning: in_array(): Wrong datatype for second argument in /usr/share/pear/Validate/AU.php on line 76 <br /> <b>Warning</b>: in_array(): Wrong datatype for second argument in <b>/usr/share/pear/Validate/AU.php</b> on line <b>76</b><br /> 5251: NO ...... I can't understand how people can release without testing. à+ -- bertrand "toggg" Gugger

« previous php.pear.qa (#3091) next »