Categories
- agile (3)
- algorithms (16)
- css (29)
- download (3)
- featured (46)
- flex 3 (25)
- javascript (138)
- micro tutorial (202)
- PHP (108)
- portfolio (5)
- snippets (7)
- video (1)
- web development (167)
- zend framework (80)
Category Archives: micro tutorial
PHP: Don’t Call the Destructor Explicitly
“PHP 5 introduces a destructor concept similar to that of other object-oriented languages, such as C++”[1] says the documentation for destructors, but let’s see the following class. class A { public function __construct() { echo ‘building an object’; } … Continue reading
Posted in micro tutorial, PHP
Tagged destructor, how-to, micro tutorial, Object-oriented programming, oop, PHP, php examples, research, Scripting languages, tutorial
7 Comments
Object Cloning and Passing by Reference in PHP
In PHP everything’s a reference! I’ve heard it so many times in my practice. No, these words are too strong! Let’s see some examples. Passing Parameters by Reference Clearly when we pass parameters to a function it’s not by reference. … Continue reading
Posted in micro tutorial, PHP
Tagged C, Clone, Cloning, Comparison of programming languages, Computer programming, Computing, Curly bracket programming languages, Java programming language, PHP, PHP programming language, Procedural programming languages, Scripting languages, Software engineering
3 Comments
Thing to Know About PHP Arrays
Consider the following case. We have an array with identical keys. $arr = array(1 => 10, 1 => 11); What happens when the interpreter reaches this line of code? This is not a syntax error and it is completely valid. … Continue reading
Posted in micro tutorial, PHP
Tagged Arrays, C programming language, Comparison of programming languages, Computer programming, Computing, Data structures, Data types, Foreach, how-to, interpreter, micro tutorial, PHP, PHP arrays, PHP micro tutorial, php tutorial, programming, tutorial, web development, webdev
Leave a comment







