Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- getopt#007 (optind #2) --ARGS-- -a 1 -b 2 -- -c nope test --INI-- register_argc_a..
Decoded Output download
--TEST--
getopt#007 (optind #2)
--ARGS--
-a 1 -b 2 -- -c nope test
--INI--
register_argc_argv=On
variables_order=GPS
--FILE--
<?php
$optind = null;
getopt('a:b:', [], $optind);
var_dump($optind);
?>
--EXPECT--
int(6)
Did this file decode correctly?
Original Code
--TEST--
getopt#007 (optind #2)
--ARGS--
-a 1 -b 2 -- -c nope test
--INI--
register_argc_argv=On
variables_order=GPS
--FILE--
<?php
$optind = null;
getopt('a:b:', [], $optind);
var_dump($optind);
?>
--EXPECT--
int(6)
Function Calls
None |
Stats
MD5 | 1aa7aa276be3e808ab7fc7386bef824f |
Eval Count | 0 |
Decode Time | 112 ms |