3v4l.org

run code in 300+ PHP versions simultaneously
<?php $originOrganizationName = 'degordian'; $registeredOrganizations = [ 'degordian', 'bornfight', // mediatoolkit, ]; $targetOrganizations = array_filter($registeredOrganizations, function ($organization) use ($originOrganizationName) { return $organization !== $originOrganizationName; } ); print_r($targetOrganizations); $tokenInArray = ['token' => 'in array']; $first = $second = $tokenInArray['token']; echo $first . " : " . $second . PHP_EOL; $TZTimeDate = 'Wed, 14 Nov 2018 06:46:11 GMT'; echo date('Y-m-d H:i:s', strtotime($TZTimeDate)); $requestOptions = [ 'showDeleted' => true, 'singleEvents' => true, 'pageToken' => '' ]; echo PHP_EOL; var_dump(empty($requestOptions['pageToken'])); echo PHP_EOL, PHP_EOL; var_dump(strpos('abcdefgh', 'abcd')); echo PHP_EOL, PHP_EOL; if(0){ echo 'int 0 bool true'; }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [1] => bornfight ) in array : in array 2018-11-14 07:46:11 bool(true) int(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:
56.87 ms | 401 KiB | 8 Q