Skip to content

Instantly share code, notes, and snippets.

@alcaeus
Created August 23, 2022 11:02
Show Gist options
  • Save alcaeus/0fdbaacab8427e95dee4e36b14db7dc5 to your computer and use it in GitHub Desktop.
Save alcaeus/0fdbaacab8427e95dee4e36b14db7dc5 to your computer and use it in GitHub Desktop.
<?php
/** @generate-function-entries */
namespace Foo {
function baz(): void {}
}
namespace Bar {
function baz(): void {}
}
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 7ec52152e7862502e4e70c52bf2b1920659b2359 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_Foo_baz, 0, 0, IS_VOID, 0)
ZEND_END_ARG_INFO()
#define arginfo_Bar_baz arginfo_Foo_baz
ZEND_FUNCTION(baz);
ZEND_FUNCTION(baz);
static const zend_function_entry ext_functions[] = {
ZEND_NS_FE("Foo", baz, arginfo_Foo_baz)
ZEND_NS_FE("Bar", baz, arginfo_Bar_baz)
ZEND_FE_END
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment