PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]
Cyber Monday 2021
Cyber Monday 2021 timer

Wrap all items of array in quotes – PHP

If we have associative PHP array and its necessary print it in JavaScript array, we ca use next PHP code:

   

Call a PHP callback function with an array of parameters

If its necessary, for example in any PHP loop (foreach) using any defined logic call specialized function with arguments by that logic –  next code will do it: