<?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
function write($id, $session_data) { echo "write: goodbye cruel world\n"; undefined_function(); }
function test_call_undefined_function() { //ERROR: undefined entity undefined_function(); }
function close() { echo "close: goodbye cruel world\n"; undefined_function(); }
public function actionUndefinedFunction() { undefined_function(); }