you can't define properties with variable initial value. The initial
value must be a constant.

This works:

<?php
define("t","This is test!<br>");
define("x","Did you looked X-MEN");
define("c","Chinese like drink tea!");
$q=t.x;
define("t_x" , t.x);
define("implo",implode("",array(t,x)));
class a{
        var $a=array(
                                array(
                                        array   (
                                                                                
                c,
                                                                                
                t_x,
                                                                                
                implo,
                                                                                
                "xxxx",
                                                                                
                x,
                                                                                
                x),
                                        "this is correct or not?!"),
                                "hoho,it is deep!"
                        );
        function a(){
                echo $this->a[0][0][0]."<br>".$this->a[0][0][1]."-|-";
        }
}

$z=new a();

?>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to