<?php declare(strict_types=1); error_reporting(E_ALL); enum blub: string { case ONE = 'one'; case TWO = 'two'; } $array = [ blub::ONE => 'one', blub::TWO => 'two', ];
You have javascript disabled. You will not be able to edit any code.