bgsomers Posted January 19, 2007 Share Posted January 19, 2007 With the instruction$input = fopen("../".$datapath."/wordfilter.dat", "r") or exit("Can't open wordfilter.dat for reading!");I assume that fopen() ist executed, and if it returns TRUE, then execution is ended. If it returns FALSE, then exit() is executed.Is there some way to inspect the processor code actually produced, and not just the source code?Bruce Quote Link to comment Share on other sites More sharing options...
trq Posted January 19, 2007 Share Posted January 19, 2007 [quote]Is there some way to inspect the processor code actually produced, and not just the source code?[/quote]I'm not sure what you mean by [i]processor code[/url], do you want to view the contents of the .dat file? If so, use [url=http://php.net/fread]fread[/url](). Quote Link to comment Share on other sites More sharing options...
bgsomers Posted January 21, 2007 Author Share Posted January 21, 2007 [quote]I'm not sure what you mean by processor code[/url], do you want to view the contents of the .dat file? If so, use fread().[/quote]No - I'd like to see the machine/processor code that is generated from my source code, to see what conditional jumps and the like are generated.I know - I come from another, non-PC, worldl!Bruce Quote Link to comment Share on other sites More sharing options...
trq Posted January 21, 2007 Share Posted January 21, 2007 AFAIK that functionality isn't available in PHP or in any debuggers Ive ever seen. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.