mirror of
https://github.com/icewind1991/ivory.git
synced 2026-06-03 10:44:09 +02:00
string return value casting
also fix for argument strings >8 bytes
This commit is contained in:
parent
938558c87a
commit
db1ce0dcd4
2 changed files with 61 additions and 8 deletions
|
|
@ -12,6 +12,7 @@ fn zval_parsing() {
|
|||
"1" => PhpVal::Long(1),
|
||||
"1.1" => PhpVal::Double(1.1),
|
||||
"\"test\"" => PhpVal::String("test".into()),
|
||||
"\"longer_string_to_cover_some_more_bytes\"" => PhpVal::String("longer_string_to_cover_some_more_bytes".into()),
|
||||
"true" => PhpVal::Bool(true),
|
||||
"false" => PhpVal::Bool(false),
|
||||
"null" => PhpVal::Null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue