xp_process

xp_process($callable)

Generates a XPSPLProcess object from the given PHP callable.

Note

See the priority and exhaust functions for setting the priority and exhaust of the created process.

Parameters:callable –
Return type:void

Example #1 Basic Usage

Creates a new XPSPL Process object.