nrueckmann / smarty-php

Automatically exported from code.google.com/p/smarty-php
0 stars 0 forks source link

instanceof in templates is broken #226

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
After upgrading from 3.1.19 to 3.1.27, instanceof in templates is broken.

What steps will reproduce the problem?
1. use instanceof in a template, e.g. {if $object instanceof IRenderable}

What is the expected output? What do you see instead?
SmartyCompilerException, syntax error: unexpected "instanceof"

What version of the product are you using? On what operating system?
Latest version (3.1.27) on Debian 3.2.63

Please provide any additional information below.
This used to work.

Original issue reported on code.google.com by a...@sebsoft.nl on 17 Jul 2015 at 9:20

GoogleCodeExporter commented 8 years ago
I can't reproduce your problem.
It's working fine in 3.1.27 at my place

Original comment by Uwe.Tews@googlemail.com on 25 Jul 2015 at 5:57

GoogleCodeExporter commented 8 years ago
Just downloaded 3.1.27 at home and did a quick test, now I can't reproduce it 
myself. Will check at work on monday what the issue is/was.

Original comment by a...@sebsoft.nl on 25 Jul 2015 at 7:45

GoogleCodeExporter commented 8 years ago

Original comment by Uwe.Tews@googlemail.com on 25 Jul 2015 at 11:26