What’s the difference between “extension” and “zend_extension” in php.ini?

Zend_extentions are extensions that are built into the Zend engine itself. The engine parses, interprets and executes PHP script. Changing the engine changes the way that PHP works. The included diagram will describe the main difference between an extension and a zend_extension. Both types of extensions share lots of functionality. The difference between both types … Read more

How does PHP ‘foreach’ actually work?

foreach supports iteration over three different kinds of values: Arrays Normal objects Traversable objects In the following, I will try to explain precisely how iteration works in different cases. By far the simplest case is Traversable objects, as for these foreach is essentially only syntax sugar for code along these lines: foreach ($it as $k … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)