- 3

Print your name 10 times without using loop and recursion in php

Php question

12th Jan 2021, 7:14 AM
Bhavik Modi
Bhavik Modi - avatar
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" ); ?>
12th Jan 2021, 9:25 AM
Ipang
0
@martin Taylor how dumb u are how can u Judge by only seeing my profile ?
22nd Jan 2021, 5:20 PM
Bhavik Modi
Bhavik Modi - avatar
0
Martin Taylor how dumb u are how can u Judge by only seeing my profile ?
22nd Jan 2021, 5:21 PM
Bhavik Modi
Bhavik Modi - avatar
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.
22nd Jan 2021, 5:22 PM
Bhavik Modi
Bhavik Modi - avatar
0
Martin Taylor if u wasted so much time judge me and my question better than you answered my question
22nd Jan 2021, 5:24 PM
Bhavik Modi
Bhavik Modi - avatar