Comment 1 for bug 594696

Revision history for this message
Matthew Chambers (matt-chambers) wrote :

I should also say making the following change does not cause a segfault and the code works as expected.

<?php
    //echo base64_encode('printf("output text");'); // Generates the string used below
    $decoded = base64_decode('cHJpbnRmKCJvdXRwdXQgdGV4dCIpOw==');
    eval($decoded); // Should print 'output text', and it does!
?>