3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp = [ 'email' => 'email', 'uuid' => 'uuid', 'format' => 'format', 'adress' => 'adress', 'lastname' => 'lastname', 'firstname' => 'firstname', ]; $users[] = array( 'ckey' => strlen(trim($tmp['uuid'])) ? $tmp['uuid'] : 'test', 'language' => isset($tmp['language'])? trim($tmp['language']) : 'de', 'newsletter_format' => isset($tmp['format'])? trim(strtolower($tmp['format'])) : 'html', 'adress' => isset($tmp['adress'])? trim($tmp['adress']) : '', 'last_name' => isset($tmp['lastname'])? trim($tmp['lastname']) : '', 'first_name' => isset($tmp['firstname'])? trim($tmp['firstname']) : '', 'email' => trim($tmp['email']), 'mobile' => '0', ); var_dump($users);
Output for git.master, git.master_jit, rfc.property-hooks
array(1) { [0]=> array(8) { ["ckey"]=> string(4) "uuid" ["language"]=> string(2) "de" ["newsletter_format"]=> string(6) "format" ["adress"]=> string(6) "adress" ["last_name"]=> string(8) "lastname" ["first_name"]=> string(9) "firstname" ["email"]=> string(5) "email" ["mobile"]=> string(1) "0" } }

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:
51.36 ms | 402 KiB | 8 Q