array python to php -


I have to translate a Python code to phyp, but I do not know how this Python code works in php I do not know what the colon is between: "[] between:

  dec = data_ar [4: len (data_ar)]   

Thanks

This is just so, so I think what you want:

  Array_slice ($ data_ar, 4);    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -