/    Sign up×
Community /Pin to ProfileBookmark

Catchall, Exception Handler, Throw – What Are They ?

Php Folks,

That’s it. Had enough of coming across error handlers, exception handlers, catchall, throw or whatever they are.
Tutorials or manual too deep for me to understand.
In layman’s terms, what are they ? Explain in beginner level, if you got the patience, with very simple sample codes for each in procedural style programming. Know this, I only know mysqli. No pdo or oop.

Thanks!

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@daveyerwinAug 01.2020 — try, throw and catch are features found in most

programming languages

google is your friend

search for

try throw catch

but really you are going at your learning experience

BackWards

maybe start here

https://www.php.net/manual/en/getting-started.php
Copy linkTweet thisAlerts:
@developer_webauthorAug 03.2020 — @DaveyErwin#1621620

Lol!

That php manual link wasn't necessary.

I think this tutorial confused me and so I opened this thread:

https://www.w3schools.com/php/php_exception.asp

I have decided. Gonna ignore exceptions, handlers, catchall, try, throw what not nonsenses as of now.
Copy linkTweet thisAlerts:
@developer_webauthorAug 03.2020 — @DaveyErwin#1621620

Lol!

That php manual link wasn't necessary.

I think this tutorial confused me and so I opened this thread:

https://www.w3schools.com/php/php_exception.asp

I have decided. Gonna ignore exceptions, handlers, catchall, try, throw what not nonsenses as of now.
Copy linkTweet thisAlerts:
@act78723Aug 03.2020 — @developer_web#1621679 If you ignore learning them you'll never know WHY your php code is failing and you won't improve your coding skills. Learning to code is like learning to run, first you crawl, then walk, then run. You must have a good understanding of the basics before moving on to more advanced things. Since you insist on using mysqli, you have to learn everything about it, not just the "easy" stuff.
×

Success!

Help @developer_web spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 3.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,

tipper: Anonymous,
tipped: article
amount: 10 SATS,
)...