Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // test.php
- header('Content-Type: text/plain');
- echo "Pre-Bootstrap: " . memory_get_usage() / 1024.00 . "kb\n";
- require_once('bootstrap.php');
- echo "Post-Bootstrap: " . memory_get_usage() / 1024.00 . "kb\n";
- $user = new User();
- $user->username = 'jwage';
- $user->password = 'changeme';
- echo $user->password; // outputs md5 hash and not changeme
- echo "\n" . "Fin: " . memory_get_usage() / 1024.00 . "kb\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement