target); return \call_user_func_array((HxDynamicStr::$hxString??'null') . "::" . ($method??'null'), $args); } /** * @param string $field * * @return mixed */ public function __get ($field) { #/nix/store/ljakxdz94hcvn9b4k9y292dn5lhh20iy-haxe-4.2.5/lib/haxe/std/php/Boot.hx:902: lines 902-908 if ($field === "length") { #/nix/store/ljakxdz94hcvn9b4k9y292dn5lhh20iy-haxe-4.2.5/lib/haxe/std/php/Boot.hx:904: characters 5-36 return mb_strlen($this->target); } else { #/nix/store/ljakxdz94hcvn9b4k9y292dn5lhh20iy-haxe-4.2.5/lib/haxe/std/php/Boot.hx:906: characters 5-17 $this->func = $field; #/nix/store/ljakxdz94hcvn9b4k9y292dn5lhh20iy-haxe-4.2.5/lib/haxe/std/php/Boot.hx:907: characters 5-16 return $this; } } /** * @see http://php.net/manual/en/language.oop5.magic.php#object.invoke * * @return mixed */ public function __invoke () { #/nix/store/ljakxdz94hcvn9b4k9y292dn5lhh20iy-haxe-4.2.5/lib/haxe/std/php/Boot.hx:921: characters 10-54 $str = $this->target; $method = $this->func; $args = \func_get_args(); \array_unshift($args, $str); return \call_user_func_array((HxDynamicStr::$hxString??'null') . "::" . ($method??'null'), $args); } /** * Invoke this closure with `newThis` instead of `this` * * @param mixed $newThis * @param array $args * * @return mixed */ public function callWith ($newThis, $args) { #/nix/store/ljakxdz94hcvn9b4k9y292dn5lhh20iy-haxe-4.2.5/lib/haxe/std/php/Boot.hx:938: lines 938-940 if ($newThis === null) { #/nix/store/ljakxdz94hcvn9b4k9y292dn5lhh20iy-haxe-4.2.5/lib/haxe/std/php/Boot.hx:939: characters 4-20 $newThis = $this->target; } #/nix/store/ljakxdz94hcvn9b4k9y292dn5lhh20iy-haxe-4.2.5/lib/haxe/std/php/Boot.hx:941: characters 10-37 $method = $this->func; \array_unshift($args, $newThis); return \call_user_func_array((HxDynamicStr::$hxString??'null') . "::" . ($method??'null'), $args); } /** * Generates callable value for PHP * * @param mixed $eThis * * @return mixed[] */ public function getCallback ($eThis = null) { #/nix/store/ljakxdz94hcvn9b4k9y292dn5lhh20iy-haxe-4.2.5/lib/haxe/std/php/Boot.hx:928: lines 928-930 if ($eThis === null) { #/nix/store/ljakxdz94hcvn9b4k9y292dn5lhh20iy-haxe-4.2.5/lib/haxe/std/php/Boot.hx:929: characters 4-51 return [$this, $this->func]; } #/nix/store/ljakxdz94hcvn9b4k9y292dn5lhh20iy-haxe-4.2.5/lib/haxe/std/php/Boot.hx:931: characters 3-69 return [new HxDynamicStr($eThis), $this->func]; } /** * @internal * @access private */ static public function __hx__init () { static $called = false; if ($called) return; $called = true; self::$hxString = Boot::getClass(HxString::class)->phpClassName; } } Boot::registerClass(HxDynamicStr::class, 'php._Boot.HxDynamicStr'); HxDynamicStr::__hx__init();