Hi!
Ich habe folgendes Problem:
	
Jetzt bekomme ich:
Warning: The argument needs to be an array on line 93
Warning: First argument to array_push() needs to be an array on line 94
 
Wieso nimmt er die Array-Deklaration der Klassen nicht?
cu
El´Blindo
					Ich habe folgendes Problem:
PHP-Code:
	
	
       ....
    /**
    * @var    array
    * @access protected
    * @author <xxxxxxxxx@xxxxxxxx.com>
    */
    var $_timecase = array(); 
    /**
    * Adds the time beginning running the testcase in microseconds.
    * 
    * @access public
    * @author <xxxxxxxxx@xxxxxxxx.com>
    */
    function addStartTime() {
        $this->_timecase[] = microtime();
    }
    
    /**
    * Remove starttime and push the deltatime running of testcase in microseconds.
    * 
    * @access public
    * @author <xxxxxxxxx@xxxxxxxx.com>
    */
    function builtDeltaTime(){
        $starttime = array_pop($this->_timecase[]);
        array_push($this->_timecase[],(microtime()-$starttime));
    }
               
                ...... 
Warning: The argument needs to be an array on line 93
Warning: First argument to array_push() needs to be an array on line 94
Wieso nimmt er die Array-Deklaration der Klassen nicht?

cu
El´Blindo
          
 <= Shoot me!
Kommentar