PHP Classes

PHP Valida RUT

Recommend this page to a friend!

      PHP Valida RUT  >  All threads  >  PHP Valida RUT  >  (Un) Subscribe thread alerts  
Subject: PHP Valida RUT
Summary:PHP Valida RUT
Messages:2
Author:Alejandro Nery Aguayo Nitrigual
Date:2014-10-27 13:44:22
 

  1. PHP Valida RUT   Reply   Report abuse  
Picture of Alejandro Nery Aguayo Nitrigual Alejandro Nery Aguayo Nitrigual - 2014-10-27 13:44:22
Thanks for sharing, I downloaded your script, but gives some errors when running back this:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in C:\AppServ\www\valida-rut\examples\simple-verifier.php on line 5

Parse error: syntax error, unexpected T_STRING in C:\AppServ\www\valida-rut\examples\simple-verifier.php on line 5


  2. Re: PHP Valida RUT   Reply   Report abuse  
Picture of Camilo Sperberg Camilo Sperberg - 2014-10-27 14:02:07 - In reply to message 1 from Alejandro Nery Aguayo Nitrigual
Hi, can you please check whether the same happens with the current version? Download it from:

github.com/unreal4u/rutverifier

The class posted on this site is outdated and shouldn't be used anymore, all current code is available via composer or directly on Github.

You can also open an issue or pull request over there :)

Out of curiosity, which version of PHP are you running? If you are below 5.3.X, I recommend updating because this class uses namespaces, which are available from 5.3.0, but while you're at it, upgrade to 5.5 or 5.6 which is the current version, and the actual one supported by this package.

Greetings.

 
For more information send a message to info at phpclasses dot org.