Skip to content

Instantly share code, notes, and snippets.

View rbarrigav's full-sized avatar

Ricardo Barriga V rbarrigav

  • Talcahuano, Chile.
View GitHub Profile
@rbarrigav
rbarrigav / validar_rut.php
Last active March 8, 2022 15:57
Validar Rut en php
<?php
/**
* Comprueba si el rut ingresado es valido
*
* @param $rut string
* @return true o false
*/
function valida_rut($rut)