What?s the difference between include and require?
Correct Answer
It?s how they handle failures If the file is not found by require(), it will cause a fatal error and halt the execution of the script If the file is not found by include(), a warning will be issued, but execution will continue
Technology problems
Search Results
1. What?s the difference between md5( ), crc32( ) and sha1( ) crypto on PHP?
Correct Answer: The major difference is the length of the hash generated CRC32 is, evidently, 32 bits, while sha1() returns a 128 bit value, and md5() returns a 160 bit value This is important when avoiding collisions
2. What is the difference between characters 23 and x23?
Correct Answer: Expression preceding the ? is evaluated, if it?s true, then the expression preceding the : is executed, otherwise, the expression following : is executed