Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F189690
constant.txt
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
epriestley
Aug 13 2014, 2:17 AM
2014-08-13 02:17:18 (UTC+0)
Size
160 B
Referenced Files
None
Subscribers
None
constant.txt
View Options
$ cat test.php
<?php
class C {
const K = 'duck';
public function m($v = self::K) {
echo $v."\n";
}
}
$o = new C();
$o->m();
$ php -f test.php
duck
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/o7/ym/octqq3hgrj7pgore
Default Alt Text
constant.txt (160 B)
Attached To
Mode
P1232 constant.txt
Attached
Detach File
Event Timeline
Log In to Comment