PHP How to create array value using for loop? -


PHP कैसे लूप के लिए एआरएआर का उपयोग करें?

  $ my_array = array (के लिए ($ I = 0; $ i & lt; 10; $ i ++) {$ i,}); गूंज '& lt; पूर्व & gt;'; print_r ($ my_array); गूंज '& lt; पूर्व / & gt;';  

  $ my_array = array (); ($ I = 0; $ i & lt; 10; $ i ++) के लिए {$ my_array [] = $ i; }  

Comments

Popular posts from this blog

ios - How to determine if NSLayoutConstraint is horizontal or vertical? -

python - rpy2 import is not working -

c# - Reactive Extensions ControlScheduler -