Follow Code Flow?

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 3
Joined: Wed Feb 14, 2018 7:12 am

Wed Feb 14, 2018 7:21 am

So I am fairly new to PHP. What I want to do is to be able to add a statement to simply print out "I Am At post.php L43".

In Javascript I would put in: console.log('I Am At post.js L43'); Is there something similar in PHP?

I use this to simple follow the flow of the code as I am trying to learn it.

Thanks and appreciate your responses.


User avatar
php-forum Fan User
php-forum Fan User
Posts: 761
Joined: Mon Feb 22, 2016 5:52 pm

Wed Feb 14, 2018 2:55 pm

PHP doesn't have a console log, it can output to a log or the screen in normal flow (where the HTML goes)

php-forum Fan User
php-forum Fan User
Posts: 564
Joined: Fri Apr 01, 2016 2:18 am

Thu Feb 15, 2018 12:20 am

echo('I Am At post.js L43');

Post Reply