Skip to content

update function generic_parser_b#105

Open
iscod wants to merge 1 commit intophpWhois:masterfrom
iscod:master
Open

update function generic_parser_b#105
iscod wants to merge 1 commit intophpWhois:masterfrom
iscod:master

Conversation

@iscod
Copy link
Copy Markdown

@iscod iscod commented Dec 26, 2019

$r default value type is array form eval

$r default value type is array form eval
@iscod
Copy link
Copy Markdown
Author

iscod commented Dec 27, 2019

$r for eval

see line :341

eval($var.'="'.\str_replace('"', '\"', $itm).'";');

eval function parameter example:

$r["domain"]["name"]="aaa.com";

But $r is string

you see : https://www.php.net/manual/en/language.types.string.php

Warning:
Writing to an out of range offset pads the string with spaces. Non-integer types are converted to integer. Illegal offset type emits E_WARNING. Only the first character of an assigned string is used. As of PHP 7.1.0, assigning an empty string throws a fatal error. Formerly, it assigned a NULL byte.

sorry ,my English is poor...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant