PHP Classes

File: vendor/nikic/php-parser/test/code/parser/stmt/function/returnTypes.test

Recommend this page to a friend!
  Packages of Abed Nego Ragil Putra   Laravel Blogging Platform   vendor/nikic/php-parser/test/code/parser/stmt/function/returnTypes.test   Download  
File: vendor/nikic/php-parser/test/code/parser/stmt/function/returnTypes.test
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Blogging Platform
Manage blog posts using Laravel and Bootstrap
Author: By
Last change:
Date: 8 months ago
Size: 900 bytes
 

Contents

Class file image Download
Return type declarations ----- <?php function test1() {} function test2() : array {} function test3() : callable {} function test4() : Foo\Bar {} ----- array( 0: Stmt_Function( byRef: false name: test1 params: array( ) returnType: null stmts: array( ) ) 1: Stmt_Function( byRef: false name: test2 params: array( ) returnType: array stmts: array( ) ) 2: Stmt_Function( byRef: false name: test3 params: array( ) returnType: callable stmts: array( ) ) 3: Stmt_Function( byRef: false name: test4 params: array( ) returnType: Name( parts: array( 0: Foo 1: Bar ) ) stmts: array( ) ) )