Skip to content

module_php

Wesley de Groot edited this page Oct 28, 2015 · 7 revisions
            	     _    _____ 
        	        | |  / ____|
    	            | |  | (___  
	            _   | |  \___  \ 
 ______    _   | |__| |  ____) |
|______|  (_)   \____/  |______/ 

Module: Php

<tr>
	<td>base64_encode</td>
	<td>_().base64_encode('string');</td>
	<td>0.0.4</td>
</tr>

<tr>
	<td>base64_decode</td>
	<td>_().base64_decode('string');</td>
	<td>0.0.4</td>
</tr>

<tr>
	<td>implode</td>
	<td>_().impode(';', ['my','Array']);</td>
	<td>0.0.4</td>
</tr>

<tr>
	<td>chr</td>
	<td>_().chr('95')</td>
	<td>0.0.4</td>
</tr>

<tr>
	<td>ord</td>
	<td>_().ord('_');</td>
	<td>0.0.4</td>
</tr>

<tr>
	<td>bin2hex</td>
	<td>_().bin2hex('_.js')</td>
	<td>0.0.4</td>
</tr>

<tr>
	<td>sprintf</td>
	<td>_().sprintf('%s', 'test 123');</td>
	<td>0.0.4</td>
</tr>

<tr>
	<td>nl2br</td>
	<td>_().nl2br('Hi,\nThere');</td>
	<td>0.0.4</td>
</tr>

<tr>
	<td>strlen</td>
	<td>_().strlen('Hi,\nThere');</td>
	<td>0.0.4</td>
</tr>

<tr>
	<td>strtolower</td>
	<td>_().strtolower('i Am A sOrT oF bReEzEr TeXt');</td>
	<td>0.0.4</td>
</tr>

<tr>
	<td>strtoupper</td>
	<td>_().strtoupper('i Am A sOrT oF bReEzEr TeXt');</td>
	<td>0.0.4</td>
</tr>
Function Code Since

Example

<script type="text/javascript">
  _().require('_php', function(){ 
    _().myPHPFunctionHere();
  });
</script>

Clone this wiki locally