Oihana PHP

func.php

Table of Contents

Functions

func()  : string
Generates a function expression like `NAME(arg1,arg2)`.

Functions

func()

Generates a function expression like `NAME(arg1,arg2)`.

func(string $name[, mixed $arguments = null ][, string $separator = ',' ]) : string
Parameters
$name : string

The function name.

$arguments : mixed = null

The arguments for the function.

$separator : string = ','

The separator between arguments (default: Char::COMMA).

Tags
example
func('CALL', ['a', 'b']); // 'CALL(a,b)'
author

Marc Alcaraz

since
1.0.0
Return values
string

The function expression.


        
On this page

Search results