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
./ext/bcmath/bcmath.c: php_error_docref(NULL TSRMLS_CC, E_WARNING, "Division by zero"); | |
./ext/bcmath/bcmath.c: php_error_docref(NULL TSRMLS_CC, E_WARNING, "Division by zero"); | |
./ext/bcmath/bcmath.c: php_error_docref(NULL TSRMLS_CC, E_WARNING, "Square root of negative number"); | |
./ext/bz2/bz2.c: php_error_docref(NULL TSRMLS_CC, E_WARNING, "length may not be negative"); | |
./ext/bz2/bz2.c: php_error_docref(NULL TSRMLS_CC, E_WARNING, "could not read valid bz2 data from stream"); | |
./ext/bz2/bz2.c: php_error_docref(NULL TSRMLS_CC, E_WARNING, "'%s' is not a valid mode for bzopen(). Only 'w' and 'r' are supported.", mode); | |
./ext/bz2/bz2.c: php_error_docref(NULL TSRMLS_CC, E_WARNING, "filename cannot be empty"); | |
./ext/bz2/bz2.c: php_error_docref(NULL TSRMLS_CC, E_WARNING, "cannot use stream opened in mode '%s'", stream->mode); | |
./ext/bz2/bz2.c: php_error_docref(NULL TSRMLS_CC, E_WARNING, "cannot use stream opened in mode '%s'", stream->mode); |
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
<?php | |
function bar($a, $b, $c) { | |
$r = new ReflectionFunction(__FUNCTION__); | |
$params = func_get_args(); | |
$form = array(); | |
foreach ($r->getParameters() as $param) { | |
$form[$param->getName()] = array( | |
'#type' => 'hidden', | |
'#value' => $params[$param->getPosition()], |
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
<?php | |
class Parenthesis extends TerminalExpression { | |
protected $precidence = 6; | |
public function operate(Stack $stack) { | |
} | |
public function getPrecidence() { | |
return $this->precidence; |
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
<?php | |
require_once 'Memory.php'; | |
require_once 'Stack.php'; | |
require_once 'Expressions.php'; | |
class Brainfuck { | |
public function run($code, $input, $eof = 0) { | |
$memory = new Memory(array_map('ord', str_split($input)), $eof); |
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
Index: ext/hash/php_hash.h | |
=================================================================== | |
--- ext/hash/php_hash.h (revision 322459) | |
+++ ext/hash/php_hash.h (working copy) | |
@@ -127,6 +127,7 @@ | |
PHP_FUNCTION(hash_update_file); | |
PHP_FUNCTION(hash_final); | |
PHP_FUNCTION(hash_algos); | |
+PHP_FUNCTION(hash_pbkdf2); | |
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
<?php | |
class Ruler { | |
// Returns in meters | |
public function measure(Point $a, Point $b) { | |
} | |
} | |
class SAEDecorator { | |
protected $ruler; |
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
<?php | |
abstract class MyEnum { | |
private static $initialized = false; | |
private static $values = array(); | |
public static function initialize() { | |
self::$values['MyFirstValue'] = new MyFirstValue(1); | |
self::$values['MySecondValue'] = new MySecondValue(2); |
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
Index: Zend/zend.h | |
=================================================================== | |
--- Zend/zend.h (revision 322430) | |
+++ Zend/zend.h (working copy) | |
@@ -486,6 +486,8 @@ | |
union _zend_function *__call; | |
union _zend_function *__callstatic; | |
union _zend_function *__tostring; | |
+ union _zend_function *__castto; | |
+ union _zend_function *__assign; |
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
Index: Zend/zend.h | |
=================================================================== | |
--- Zend/zend.h (revision 322430) | |
+++ Zend/zend.h (working copy) | |
@@ -486,6 +486,11 @@ | |
union _zend_function *__call; | |
union _zend_function *__callstatic; | |
union _zend_function *__tostring; | |
+ union _zend_function *__toint; | |
+ union _zend_function *__tofloat; |
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
Index: Zend/zend_execute.c | |
=================================================================== | |
--- Zend/zend_execute.c (revision 322430) | |
+++ Zend/zend_execute.c (working copy) | |
@@ -646,7 +646,39 @@ | |
return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, "be callable", "", zend_zval_type_name(arg), "" TSRMLS_CC); | |
} | |
break; | |
- | |
+ case IS_DOUBLE: |
OlderNewer