Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run with php 7.4 occur PHP Deprecated: Array and string offset access syntax with curly braces is deprecated #62

Closed
mkanako opened this issue Mar 6, 2020 · 4 comments

Comments

@mkanako
Copy link

mkanako commented Mar 6, 2020

PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /Tools/yakpro-po/yakpro-po.php on line 74

Deprecated: Array and string offset access syntax with curly braces is deprecated in /Tools/yakpro-po/yakpro-po.php on line 74

PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /Tools/yakpro-po/include/check_version.php on line 28
PHP Stack trace:
PHP 1. {main}() /Tools/yakpro-po/yakpro-po.php:0

Deprecated: Array and string offset access syntax with curly braces is deprecated in /Tools/yakpro-po/include/check_version.php on line 28

Call Stack:
0.0023 414744 1. {main}() /Tools/yakpro-po/yakpro-po.php:0

PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /Tools/yakpro-po/include/classes/scrambler.php on line 378
PHP Stack trace:
PHP 1. {main}() /Tools/yakpro-po/yakpro-po.php:0

Deprecated: Array and string offset access syntax with curly braces is deprecated in /Tools/yakpro-po/include/classes/scrambler.php on line 378

Call Stack:
0.0023 414744 1. {main}() /Tools/yakpro-po/yakpro-po.php:0

PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /Tools/yakpro-po/include/classes/scrambler.php on line 378
PHP Stack trace:
PHP 1. {main}() /Tools/yakpro-po/yakpro-po.php:0

Deprecated: Array and string offset access syntax with curly braces is deprecated in /Tools/yakpro-po/include/classes/scrambler.php on line 378

.....

@pk-fr
Copy link
Owner

pk-fr commented Mar 6, 2020

thanks,
fixed in 2.0.9

@pk-fr pk-fr closed this as completed Mar 6, 2020
@mkanako
Copy link
Author

mkanako commented Mar 6, 2020

$result .= mt_rand(0,1) ? "\x".dechex(ord($str{$i})) : "\\".decoct(ord($str{$i}));

miss this line
thx!

@pk-fr
Copy link
Owner

pk-fr commented Mar 6, 2020

thx!
hope this is ok now!

@mkanako
Copy link
Author

mkanako commented Mar 6, 2020

yes, now is working great!

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

No branches or pull requests

2 participants