[TYPO3-ect] div does not run under PHP4

Simon Tuck stu at rtpartner.ch
Tue Jan 15 11:40:34 CET 2008


The div extension states compatibility with PHP 4 & 5 above the 
copyright notice. The fix would be fairly simple: as PHP4 does not 
support static variables in the class scope, a constructor would be a 
workaround. But I notice that the class also uses the self keyword. So I 
guess the extension should require PHP >= 5
What's the official take on this?


Sebastian Fischer wrote:
> Hi Franz,
> 
> as official support of php4 is discontinued and typo3 is closely bound to
> php5.2, I think, the support of php4 is less important than fixing other
> problems. It’s a certain chance to force more people to upgrade to php5 and
> get loss of outdated installations.
> 
> Greetings
> Sebastian Fischer
> 
> -----Ursprüngliche Nachricht-----
> Von: typo3-team-extension-coordination-bounces at lists.netfielders.de
> [mailto:typo3-team-extension-coordination-bounces at lists.netfielders.de] Im
> Auftrag von Franz Holzinger
> Gesendet: Samstag, 12. Januar 2008 12:17
> An: typo3-team-extension-coordination at lists.netfielders.de
> Betreff: [TYPO3-ect] div does not run under PHP4
> 
> Hello,
> 
> it is not possible to run div and div2007 under PHP4.x
> 
> It causes a PHP error message:
> 
> Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION
> or T_FUNCTION or T_VAR or '}' in
> /var/www/vhosts/mailtest/typo3conf/ext/div2007/class.tx_div2007_ff.php
> on line 50
> 
> 
> class tx_div2007_ff{
> 
> 	/**
> 	 * The current loaded flexform
> 	 *
> 	 * @var array
> 	 */
> 	static $flexForm = array(); //the current loaded flexform
> 
> 	/**
> 	 * A set of flexforms that are stored in case they are going to be
> use.
> 	 *
> 	 * @var array
> 	 */
> 	static $flexForms = array();
> 
> 
> - Franz
> _______________________________________________
> TYPO3-team-extension-coordination mailing list
> TYPO3-team-extension-coordination at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-extension-co
> ordination
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.516 / Virus Database: 269.19.2/1223 - Release Date: 13.01.2008
> 20:23
>  
> 
> No virus found in this outgoing message.
> Checked by AVG Free Edition. 
> Version: 7.5.516 / Virus Database: 269.19.2/1223 - Release Date: 13.01.2008
> 20:23
>  
> 


More information about the TYPO3-team-extension-coordination mailing list