Advertisement
yesamarcos

Dá pra comparar os arrays e fazer a troca !!!

May 28th, 2017
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.18 KB | None | 0 0
  1. // Explode e troca as letras por números
  2.  
  3. $mesnum = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
  4. $meslet = ["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement