Page MenuHomePhabricator
Paste P8970

Thank you puppet, you're the gift that keeps on giving.
ActivePublic

Authored by Joe on Aug 23 2019, 5:22 PM.
Tags
None
Referenced Files
F30077627: raw.txt
Aug 23 2019, 5:22 PM
Subscribers
None
$damn = ['seriously', 'wtf']
notice(type($damn)) # Tuple[String, String]
# Ok, it should be possible to convert it to an array right?
$really = Array($damn)
notice(type($really)) # Guess what? yes you guessed right. Tuple[String, String]
# Ok, let's get fancy and to use something that's not really recommended.
$ohlol = Array.new($damn)
notice(type($ohlol)) # by now, you know the drill...

Event Timeline