haXe API Documentation
Back | Index
class php.Lib
Available in php
static function associativeArrayOfHash(hash : Hash<Dynamic>) : NativeArray
static function dump(v : Dynamic) : Void
static function extensionLoaded(name : String) : Unknown
static function getClasses() : { }
static function hashOfAssociativeArray<T>(arr : NativeArray) : Hash<T>
static function isCli() : Bool
static function loadLib(pathToLib : String) : Void
Loads types defined in the specified directory.
static function print(v : Dynamic) : Void
Print the specified value on the default output.
static function printFile(file : String) : Unknown
static function println(v : Dynamic) : Void
Print the specified value on the default output followed by a newline character.
static function rethrow(e : Dynamic) : Void
For neko compatibility only.
static function serialize(v : Dynamic) : String
Serialize using native PHP serialization. This will return a Binary string that can be stored for long term usage.
static inline function toHaxeArray(a : NativeArray) : Array<Dynamic>
static function toPhpArray(a : Array<Dynamic>) : NativeArray
static function unserialize(s : String) : Dynamic
Unserialize a string using native PHP serialization. See serialize.
Back | Index