Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $code = '<?php echo 0x00+2;';
- foreach(token_get_all($code) as $c){
- if(is_array($c)){
- print(token_name($c[0]).": '".htmlentities($c[1])."'\n");
- }
- else {
- print("$c\n");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement