E
E
Egor Vinogradov2021-10-21 18:11:01
PHP
Egor Vinogradov, 2021-10-21 18:11:01

Where can I find php codes for debugging on the net?

Sap, habr, decided to practice debugging through xdebug and there was an urgent need to find php codes with errors, they are naturally nowhere to be found in the public domain, and personally creating an initially broken code gets boring quickly, and there is almost zero learning element in such a process

. someone has a couple or two lying around, so to speak, in the trash of bugged codes, then send them direct fire here, thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2021-10-21
@Silwa

Properly creating buggy code is a great way to learn.
Ask yourself how this or that function behaves when the wrong data is given as input. Empty, wrong type, too large, closed descriptors, writing to locked files, network problems in some function like working with databases or waiting for post data from the user, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question