Skip to editor
Psalm
Docs
Playground
Plugins
Blog
Paid support
Share
Fix issues
Show original
PHP
Settings
<?php declare(strict_types=1); /** * @psalm-return array<int, string> */ function produce(): array { return [1 => '2']; } $array = produce(); if (isset($array[0])) { echo $array[0] + 1; }
Issues
Types
idle
Saved Dec 14 2021 08:45 UTC
⌘/Ctrl+Enter
run
⌘/Ctrl+S
share
F8
/
⇧F8
next/prev issue