Un error mio o no se puede ejecutar. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Un error mio o no se puede ejecutar.

Alguien que sepa de php y que me diga porque no puedo ejecutar este codigo: $pasword ="136Wu@

amp;"; foreach(hash_algo() as $algo) { echo $algo.': '. hash($algo, $pasword).'<br/>'. } $hash = pasword_hash( $pasword, pasword DEFAULT, ['cost'=> 25]); echo $hash.'<br/>'

27th Dec 2019, 1:40 PM
NØ@/-/
1 Answer
0
You have syntax errors, and wrong argument for the optional $options function parameter. Please refer to the manual: https://www.php.net/manual/es/function.hash-algos.php https://www.php.net/manual/es/function.password-hash.php
27th Dec 2019, 2:23 PM
Ipang