I've heard comments that would be a good idea when a future implementation can occur.
I've also heard that it's a bad practice.
I know that in PHP, for example, there is an interface called Traversable
who has nothing. It serves onl...
What is Lazy Loading and Eager Loading ? I saw these terms in a documentation but I do not quite understand it, so mine is to know what these terms mean and I would like to if possible restrict the scope of the answer / question to PHP...
I do not understand almost anything about PHP. Once a friend sent me a code that allowed me to separate my page into several parts and then get those parts back in case I change anything in the scripts and style sheets so I do not need to go pag...
Is there any native function, or other practical way, to take a number in float and convert it to the extended number?
Example:
//input: 2.000,00
//output: dois mil
I'm making a form, and I'm performing the validation part ...
I see a lot of the term sanitize or sanitizar , what does this mean?
I've even seen some functions in php that take this term in its parameters.
I have a PHP system that generates a pdf, and I need to use the client's Digital Certificate to sign this document. I've been reading documentation, and I've seen that the FPDF that I'm using does not yet support this method, since TCPDF give...
In php I can do this without declaring / setting variables:
echo($foo); //resolve: vazio, sem nada
$foo++;
echo($foo); // resolve: 1
Using var_dump() it gives, respectively NULL and 1 .
If I use settype($foo, "int...
Today one of the company sites where I work was hacked, as well as several others that are archaic development methods and full of security holes ...
The person who invaded left a modified index in the following code in another file and I was...
It's been a while since I've always used the current() function in PHP to get the first element of the array (which in fact is not its functionality since it returns the current pointer in array is) and I've been noticing something tha...