PHP Classes

ppffffff !!!

Recommend this page to a friend!

      Password  >  All threads  >  ppffffff !!!  >  (Un) Subscribe thread alerts  
Subject:ppffffff !!!
Summary:waste of time for debug it !!!!
Messages:2
Author:Robhy
Date:2006-10-29 09:42:50
Update:2006-10-30 01:32:03
 

  1. ppffffff !!!   Reply   Report abuse  
Picture of Robhy Robhy - 2006-10-29 09:42:50
the code does not go!!! Each time it is marked :

Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in c:\program files\easyphp1-8\www\password_generator-2006-10-23\example\Password.php on line 34

as if it were a code which was copied some share

  2. Re: ppffffff !!!   Reply   Report abuse  
Picture of Matt Matt - 2006-10-30 01:32:03 - In reply to message 1 from Robhy
The code is PHP 5 n00b, and does not run on PHP4. If you are going to say something derogatory about someone else's code, get your facts straight.

To make the code compatable with PHP4, remove all the scope definitions (private,public,static,const,static,final) and all special errors (replace "throw new Exception" with "trigger_error") and it will work.