ID:               28315
 Updated by:       [EMAIL PROTECTED]
 Reported By:      j dot uribe at globalforma dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Zend Engine 2 problem
 Operating System: Windows XP
 PHP Version:      5.0.0RC2
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


The short portion of code you posted works fine from here.


Previous Comments:
------------------------------------------------------------------------

[2004-05-07 16:13:34] j dot uribe at globalforma dot com

Description:
------------
The compiler gives me an error when i exec a code




Reproduce code:
---------------
echo(LMS::$dataModelCore[$_POST['lmsget']]());

Part of the class is:
        class LMS{
                public static $dataModelCore=array(
                                                                                
"cmi.core.student_id"=>'coreStudentID($tipo,$valor="")',
                                                                                
"cmi.core.student_name"=>'coreStudentName($tipo,$valor="")',
                                                                                
"cmo.core.lesson_location"=>'coreLessonLocation($tipo,$valor="")',
                                                                                
"cmi.core.credit"=>'coreCredit($tipo,$valor="")',
                                                                                
"cmi.core.lesson_status"=>'coreLessonStatus($tipo,$valor="")',
                                                                                
"cmi.core.entry"=>'coreEntry($tipo,$valor="")',
                                                                                
"cmi.core.score"=>
                                                                                       
 array(  
                                                                                       
                 "cmi.core.score.raw"=>'coreScoreRaw($tipo,$valor="")',
                                                                                       
                 "cmi.core.score.max"=>'coreScoreMax($tipo,$valor="")',
                                                                                       
                 "cmi.core.score.min"=>'coreScoreMin($tipo,$valor="")',
                                                                                       
         ),
                                                                                
"cmi.core.total_time"=>'coreTotalTime($tipo,$valor="")',
                                                                                
"cmi.core.lesson_mode"=>'coreLessonMode($tipo,$valor="")',
                                                                                
"cmi.core.exit"=>'coreExit($tipo,$valor="")',
                                                                                
"cmi.core.session_time"=>'coreSessionTime($tipo,$valor="")',
                                                                );

            static function suspendData($tipo,$valor=""){
                echo "Suspend Data";
            }
            static function launchData($tipo,$valor=""){
                echo "Launch Data";
            }

...
...
)

Expected result:
----------------
I expected execute the function asociate whith the value of the array.





------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28315&edit=1

Reply via email to