daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest May 17th, 2018 136 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //////////////////////////////////////
  2.  
  3. function.php
  4.  
  5. /////////////////////////////////////
  6.  
  7.  
  8. function test()
  9. {
  10.     $var = 'test';
  11.     render('file.php', [$var]);
  12. }
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. ///////////////////////////////////////
  20.  
  21. file.php
  22.  
  23. //////////////////////////////////////
  24.  
  25. <body>
  26.     <div id="test">{$var}</div>
  27. </body>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top