kaffa / textpattern

Automatically exported from code.google.com/p/textpattern
0 stars 0 forks source link

'<txp:yield />' breaks with PHP 5.5 #383

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On PHP 5.5, sites display an error message stating 'Parse error: syntax error, 
unexpected 'yield' (T_YIELD'.

This results from 'yield' becoming a reserved word in PHP 5.5 while we use an 
identically named taghandler funtion for '<txp:yield />'

(see http://forum.textpattern.com/viewtopic.php?id=39906)

Original issue reported on code.google.com by r.wetzlmayr on 10 Jul 2013 at 3:40

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r5501.

Original comment by r.wetzlmayr on 10 Jul 2013 at 4:34