-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[runtime] unit runtime&runtime-light json functions into runtime-common
- Loading branch information
Showing
24 changed files
with
150 additions
and
929 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
builtin-functions/kphp-light/unsupported/unsupported-serialize.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
|
||
/** @kphp-extern-func-info generate-stub */ | ||
function serialize($v ::: mixed) ::: string; | ||
/** | ||
* @kphp-extern-func-info generate-stub | ||
* @kphp-pure-function | ||
*/ | ||
function unserialize ($v ::: string) ::: mixed; | ||
|
||
/** @kphp-extern-func-info generate-stub */ | ||
function msgpack_serialize($v ::: mixed) ::: string | null; | ||
/** @kphp-extern-func-info generate-stub */ | ||
function msgpack_deserialize($v ::: string) ::: mixed; | ||
/** @kphp-extern-func-info can_throw generate-stub */ | ||
function msgpack_serialize_safe($v ::: mixed) ::: string; | ||
/** @kphp-extern-func-info can_throw generate-stub */ | ||
function msgpack_deserialize_safe($v ::: string) ::: mixed; | ||
|
||
function instance_serialize(object $instance) ::: string | null; | ||
/** @kphp-extern-func-info can_throw */ | ||
function instance_serialize_safe(object $instance) ::: string; | ||
/** @kphp-extern-func-info cpp_template_call */ | ||
function instance_deserialize($serialized ::: string, $to_type ::: string) ::: instance<^2>; | ||
/** @kphp-extern-func-info cpp_template_call can_throw */ | ||
function instance_deserialize_safe($serialized ::: string, $to_type ::: string) ::: instance<^2>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.