コード例 #1
0
<?php

namespace HHVM\UserDocumentation\Inconsistencies\Intro\Examples\DCP;

class A
{
}
var_dump(new A(undefined_function()));
// Works in PHP5 but not HHVM
class B
{
    public function __construct()
    {
    }
}
var_dump(new B(undefined_function()));
// Doesn't work in neither HHVM nor PHP5
コード例 #2
0
ファイル: bug60634_error_1.php プロジェクト: badlamer/hhvm
function write($id, $session_data)
{
    echo "write: goodbye cruel world\n";
    undefined_function();
}
コード例 #3
0
ファイル: functions.php プロジェクト: Halfnhav4/pfff
function test_call_undefined_function()
{
    //ERROR: undefined entity
    undefined_function();
}
コード例 #4
0
ファイル: bug60634_error_5.php プロジェクト: badlamer/hhvm
function close()
{
    echo "close: goodbye cruel world\n";
    undefined_function();
}
コード例 #5
0
 public function actionUndefinedFunction()
 {
     undefined_function();
 }