From 5832e228606aa5012283e076d122f528e04b5826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antal=20=C3=81ron?= Date: Thu, 30 Dec 2021 13:03:44 +0100 Subject: [PATCH] Make example work --- components/var_exporter.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/var_exporter.rst b/components/var_exporter.rst index 59f5ec64fab..810cc271a2b 100644 --- a/components/var_exporter.rst +++ b/components/var_exporter.rst @@ -28,7 +28,7 @@ PHP code, similar to PHP's :phpfunction:`var_export` function:: $exported = VarExporter::export($someVariable); // store the $exported data in some file or cache system for later reuse - $data = file_put_contents('exported.php', $exported); + $data = file_put_contents('exported.php', '