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-- Large invalid octal number with underscores --EXTENSIONS-- tokenizer --FILE-- <?p..

Decoded Output download

--TEST--
Large invalid octal number with underscores
--EXTENSIONS--
tokenizer
--FILE--
<?php

var_dump(token_get_all("<?php 0_10000000000000000000009;"));

?>
--EXPECTF--
array(3) {
  [0]=>
  array(3) {
    [0]=>
    int(%d)
    [1]=>
    string(6) "<?php "
    [2]=>
    int(1)
  }
  [1]=>
  array(3) {
    [0]=>
    int(%d)
    [1]=>
    string(25) "0_10000000000000000000009"
    [2]=>
    int(1)
  }
  [2]=>
  string(1) ";"
}
 ?>

Did this file decode correctly?

Original Code

--TEST--
Large invalid octal number with underscores
--EXTENSIONS--
tokenizer
--FILE--
<?php

var_dump(token_get_all("<?php 0_10000000000000000000009;"));

?>
--EXPECTF--
array(3) {
  [0]=>
  array(3) {
    [0]=>
    int(%d)
    [1]=>
    string(6) "<?php "
    [2]=>
    int(1)
  }
  [1]=>
  array(3) {
    [0]=>
    int(%d)
    [1]=>
    string(25) "0_10000000000000000000009"
    [2]=>
    int(1)
  }
  [2]=>
  string(1) ";"
}

Function Calls

None

Variables

None

Stats

MD5 dc4d985d2bcb769e5373c9a7c06eb48b
Eval Count 0
Decode Time 99 ms