- 3
Print your name 10 times without using loop and recursion in php
Php question
6 Respostas
+ 1
Use array_fill() and array_walk()
<?php
// 🍟
function x( $element )
{
echo $element;
}
$names = array_fill( 0, 10, 'This is my name<br />' );
array_walk( $names, "x" );
?>
0
@martin Taylor how dumb u are how can u Judge by only seeing my profile ?
0
Martin Taylor how dumb u are how can u Judge by only seeing my profile ?
0
Martin Taylor I just want to know that's it if u don't know my about my answer than go ahead don't wasted time here.
0
Martin Taylor if u wasted so much time judge me and my question better than you answered my question