Error on file

Recommend this page to a friend!

      PHP PDO database class  >  All threads  >  Error on file  >  (Un) Subscribe thread alerts  
Subject:Error on file
Summary:Error on function empty
Messages:1
Author:Luis Del Castillo
Date:2017-06-06 13:07:42
 

  1. Error on file   Reply   Report abuse  
Luis Del Castillo - 2017-06-06 13:07:42
in file phptricksORM/Collections/Collection.php the function empty causes this error:

Parse error: syntax error, unexpected 'empty' (T_EMPTY), expecting identifier (T_STRING) in /Applications/XAMPP/xamppfiles/htdocs/dbpdo/phptricksORM/Collection/Collection.php on line 27

the function name empty causes the error, think you should use another name for the function.


 

For more information send a message to info at phpclasses dot org.