DEV Community

Discussion on: PHP for Loop with code examples

Collapse
 
dennistobar profile image
Dennis Tobar

Hello!

If you'd like, you can add syntax highlighting (colors that make code easier to read) to your code block like the following example.

console.log('Hello world!');
Enter fullscreen mode Exit fullscreen mode

This should make it a bit easier to understand your code. 😎

You could show how is the example with the same array, not only in for loop for fruits :)