3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface MigrateIdMapInterface { const ROLLBACK_DELETE = 0; } function yep($map_row) { echo sprintf('%s yields %s%s', var_export($map_row, TRUE), var_export(($map_row['rollback_action'] ?? NULL) === MigrateIdMapInterface::ROLLBACK_DELETE, TRUE), \PHP_EOL); } yep([]); yep(NULL); yep(FALSE); yep('string'); yep(['rollback_action' => 0]);
Output for git.master, git.master_jit, rfc.property-hooks
array ( ) yields false NULL yields false false yields false 'string' yields false array ( 'rollback_action' => 0, ) yields true

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:
46.04 ms | 1415 KiB | 4 Q