3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $cookie = '1234567890'; $ssid = '1234567890'; $pixels = ''; $fetchPixels = null; $sson_ssid = '987654321'; $loggedIn = true; $isCookieMissing = $loggedIn && $cookie===null && $ssid; $isExplicitRequest = !is_null($fetchPixels); $sapSessionDiffers = !$sson_ssid || $sson_ssid !== $ssid; $setPixels = ( $isExplicitRequest || $isCookieMissing ) && $sapSessionDiffers; var_dump($setPixels);
Output for 4.3.0 - 7.1.0
bool(false)