This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?hh | |
class MyClass { | |
public function __construct() { | |
var_dump(__FUNCTION__); | |
} | |
public function foo() { | |
var_dump(spl_object_hash($this)); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class.AppendIterator.yml | |
class.ArrayIterator.yml | |
class.AsyncFunctionWaitHandle.yml | |
class.AsyncGeneratorWaitHandle.yml | |
class.CachingIterator.yml | |
class.CallbackFilterIterator.yml | |
class.ConditionWaitHandle.yml | |
class.EmptyIterator.yml | |
class.ExternalThreadEventWaitHandle.yml | |
class.FilterIterator.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
sources: | |
- | |
type: file | |
name: > | |
/home/fred/hhvm/hphp/runtime/ext/enum/ext_enum.php | |
mtime: 1438030742 | |
- | |
type: file | |
name: > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @covers PHPUnit_Framework_Assert::assertClassHasStaticAttribute | |
*/ | |
public function testClassHasPublicStaticAttribute() | |
{ | |
$this->assertClassHasStaticAttribute('publicStaticAttribute', 'ClassWithNonPublicAttributes'); | |
try { | |
$this->assertClassHasStaticAttribute('attribute', 'ClassWithNonPublicAttributes'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Use PC Style Home/End (screen/vim in iTerm2 compatible)</name> | |
<identifier>private.pc_home_end.not_terminal</identifier> | |
<not>TERMINAL</not> | |
<autogen>--KeyToKey-- FROMKEYCODE_HOME, VK_COMMAND, KeyCode::CURSOR_UP, ModifierFlag::COMMAND_L</autogen> | |
<autogen>--KeyToKey-- FROMKEYCODE_HOME, VK_CONTROL, KeyCode::CURSOR_UP, ModifierFlag::COMMAND_L</autogen> | |
<autogen>--KeyToKey-- FROMKEYCODE_END, VK_COMMAND, KeyCode::CURSOR_DOWN, ModifierFlag::COMMAND_L</autogen> | |
<autogen>--KeyToKey-- FROMKEYCODE_END, VK_CONTROL, KeyCode::CURSOR_DOWN, ModifierFlag::COMMAND_L</autogen> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Server { | |
DefaultDocument=index.php | |
ErrorDocument404=index.php | |
} | |
ServerVariables { | |
X_ENVIRONMENT: dev | |
} | |
Debug { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fredemmott-mbp1:~ fredemmott$ cat test.php | |
<?php | |
$keys = array(3.141); | |
var_dump(array_fill_keys($keys, 'value')); | |
$foo = array(); | |
$foo[3.141] = 'value'; | |
var_dump($foo); | |
fredemmott-mbp1:~ fredemmott$ php test.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[fredemmott@devbig076 ~] cat test.php | |
<?php | |
class Foo { | |
public static function bar() { | |
var_dump(func_get_args()); | |
} | |
} | |
function main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 7ef637d6c0fd5d0736dab8a7b7fd2e4eb3730207 | |
Author: Fred Emmott <fredemmott@fb.com> | |
Date: Fri Feb 21 14:31:31 2014 -0800 | |
Add plumbing for stream metadata; implement for php:// | |
Summary: Match Zend. refs guzzle/guzzle#538 | |
Test Plan: New test | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 0abae5f5aed48496e2a765b14fa301b093fe29d8 | |
Author: Fred Emmott <fredemmott@fb.com> | |
Date: Thu Feb 27 16:21:46 2014 -0800 | |
Add LIBXSLT_DOTTED_VERSION constant | |
Test Plan: new test | |
Reviewers: ptarjan, joelm | |
OlderNewer