Task #50474

PhpFrontend should return original string in get

Added by Christian Müller over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Should have
Category:
Cache
Target version:
-
Start date:
2013-07-26
Due date:
% Done:

100%

Estimated time:
Sprint:
PHP Version:
Has patch:
No
Complexity:
easy

Description

The PhpFrontend automatically wraps the given string of code before setting it in the backend:

$sourceCode = '<?php' . chr(10) . $sourceCode . chr(10) . '#';

On get() the wrapped first and last line should be removed so you can retrieve the original piece of code that was stored in the cache.

Also available in: Atom PDF