3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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'));
based on 2o8F7
Output for 5.6.38 - 7.3.0rc3
Array ( [1] => bornfight ) in array : in array 2018-11-14 07:46:11 bool(true) int(0)