Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4681385y@Salim apparently to identify performance issues.
This wasn't mine.... a project I took over with this thing everywhere. -
I still use var_dump() because XDebug slows things down too much for me plus I have no idea how to use it 🤷♀️
-
Depends on use case and problem complexity.
Sometimes you would need wall of var_dump()'s, sometimes debugger will be more annoying.
More XP you have, the more accurately you know which tool you need in given instance of problem. -
C0D4681385y@sandeepbalan we don't do that here 😏
Warning: Use of undefined constant Console - assumed 'Console' in /path/to/file.php on line 3
Warning: log() expects parameter 1 to be float, string given in /path/to/file.php on line 3 -
@C0D4
Almost.. Almost!
Warning isnt warning but rather "PHP Warning:"
This one is more on-point
PHP Warning: Use of undefined constant console - assumed 'console' (this will throw an Error in a future version of PHP) in /tmp/fun.php on line 3
PHP Warning: log() expects parameter 1 to be float, string given in /tmp/fun.php on line 3
Its funny how devs can literally emulate in brain exac contents of these errors... -
C0D4681385y@DubbaThony it's 6am. Close enough for this hour of the day.
You know you've seen those errors way to many times when you can write them from memory. -
@C0D4
dw night owl ;)
Ah, also the thingy that it will throw an error in future versions but that's added recently so no biggie ;)
Still I love how we can predict exacly what message will be and we are usually mistaken by some typo or sth. -
@C0D4 aaah, early bird than.
Sorry ;)
Anyway I fully understand that you are still booting and need some caff flowing before proper script execution 😂 -
C0D4681385y@DubbaThony mm coffee sounds good, currently stuck at a prompt
-> Insert coffee to continue.
Thats a good 1.5-2hours away by the time I get to work.
#uselessTrainWorks😣 -
@C0D4thats my bios screen. When I POST in morning im like hard stuck before coffee so i can 100% relate. Its 22:43 for me btw
-
C0D4681385y@DubbaThony 15-20 more min and I'll have that big cup of joe!!
I just need to not have a system freeze in the meantime. -
@C0D4
Wait its not frozen?
Apparently your system can work coffeelessly, my system will be in bootloop until caff is provided -
C0D4681385y@DubbaThony background processors are running, albeit slowly.
It's like running Windows 10 on a single core processor and 512mb ram.
It's having a bad time but surviving 😅 -
@C0D4
So for me better analogy is literally fuel and car, without it you can turn on the lights and stuff but it wont get you anywhere.
Related Rants
"Don't use the debugger, just use var_dump( )"
- Project Manager
rant
php
webdev