3v4l.org

run code in 300+ PHP versions simultaneously
<?php # EXEMPLO VIRID # Define os IDs de listas $listas = array(); $listas[] = array("listaId" => 102); $listas[] = array("listaId" => 443); echo '<pre>'; print_r($listas); echo '<pre>' . PHP_EOL; # EXEMPLO 3YZ $params = array( 'login' => $ws_user, 'senha' => $ws_password, 'email' => 'joel.souza@gmail.com', 'nome' => 'joel', 'nascimento' => NULL, 'celular' => NULL, 'listas' => array(array('listaId' => 10)), 'camposadicionais' => NULL ); echo '<pre>'; print_r($params['listas']); echo '<pre>' . PHP_EOL;
Output for git.master, git.master_jit, rfc.property-hooks
<pre>Array ( [0] => Array ( [listaId] => 102 ) [1] => Array ( [listaId] => 443 ) ) <pre> Warning: Undefined variable $ws_user in /in/AlXmg on line 18 Warning: Undefined variable $ws_password in /in/AlXmg on line 19 <pre>Array ( [0] => Array ( [listaId] => 10 ) ) <pre>

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
43.65 ms | 402 KiB | 8 Q