Skip to editor
Psalm
Docs
Playground
Plugins
Blog
Paid support
Share
Fix issues
Show original
PHP
Settings
<?php /** @var string|null */ $foo = null; $cond = random_int(0, 10) < 5; $another_cond = random_int(0, 10) < 5; if ($cond) { $foo = 'from cond'; } elseif ($another_cond) { throw new \RuntimeException('exceptional cond'); } else { $foo = 'no cond'; } echo $foo;
Issues
Types
idle
Saved Mar 9 2023 21:01 UTC
⌘/Ctrl+Enter
run
⌘/Ctrl+S
share
F8
/
⇧F8
next/prev issue