A while ago, I wrote about Internet Explorer security zones and dynamically created elements. Until such an element was attached to an existing document, all operations on that element were executed in the zone corresponding with about:blank.
I ran into a similar situation while making changes to automatically activate an ActiveX control.
Posted by karma at 08:06 PM. Filed under: Other Programming
• Permalink
It's a simple enough question, which you should try to solve in your head: What does the following code display, and why?
<?php
$i = 1;
$i += $i++ + ++$i;
echo 'i=', $i;
?>
Bonus question: Is the result always the same in other programming languages (JavaScript, Java, C#, ...; provided the syntax is adapted to the host language :))? Why (not)?
Posted by karma at 07:44 PM. Filed under: Other Programming
• Permalink