phdphd Posted June 29, 2016 Share Posted June 29, 2016 Hi All,I am very new to Opcache.Suppose I have a form in File_A.php with an input field where users enter their name.When they validate the form, their name is saved in a variable, and File_B.php is called and displays "Your name is [variable_value]".Let's say Peter fills the form, then Mary does.To which extend does Opcache come into play in this scenario ? Is there a risk that Mary gets "Your name is Peter"?Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/301414-opcache-and-variable-processing/ Share on other sites More sharing options...
Jacques1 Posted June 29, 2016 Share Posted June 29, 2016 The OPcache contains the bytecode of PHP scripts, i. e. an optimized representation of the programs you've written as source code. It doesn't know anything about the request parameters from a particular run. Quote Link to comment https://forums.phpfreaks.com/topic/301414-opcache-and-variable-processing/#findComment-1534113 Share on other sites More sharing options...
phdphd Posted June 29, 2016 Author Share Posted June 29, 2016 Thanks, Jacques1. Quote Link to comment https://forums.phpfreaks.com/topic/301414-opcache-and-variable-processing/#findComment-1534114 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.