In daytime, I work with C++. When it comes to night, I have to struggle with PHP; meanwhile I am learning Actionscript 3 and Javascript scripting for Unity3D. It’s no wonder that I begin to write code like this:

 
#include_once("config.php");

public class MyClass : public MyInterface
{
  public function __construct($initialData : array)
  {
     $this->initialData = $initialData;
     for (int i = 0; i < count($initialData); i++)
     {
             ....
     }
}

Someone help me, please!