Skip to content

Commit bfd1565

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Improvements around documentation images Make example work
2 parents 3ef87b0 + 0a17d12 commit bfd1565

File tree

10 files changed

+1
-1
lines changed

10 files changed

+1
-1
lines changed
102 KB
Loading
-1.8 KB
Loading
Loading
Loading
41.8 KB
Loading

_images/profiler/web-interface.png

49.6 KB
Loading

_images/quick_tour/no_routes_page.png

-502 KB
Loading
-58.2 KB
Binary file not shown.

_images/release-process.jpg

-308 KB
Binary file not shown.

components/var_exporter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ PHP code, similar to PHP's :phpfunction:`var_export` function::
2828

2929
$exported = VarExporter::export($someVariable);
3030
// store the $exported data in some file or cache system for later reuse
31-
$data = file_put_contents('exported.php', $exported);
31+
$data = file_put_contents('exported.php', '<?php return '.$exported.';');
3232

3333
// later, regenerate the original variable when you need it
3434
$regeneratedVariable = require 'exported.php';

0 commit comments

Comments
 (0)