summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/slice2php/Main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/slice2php/Main.cpp b/cpp/src/slice2php/Main.cpp
index 4c6c4eebbaf..3d8e5438aa2 100644
--- a/cpp/src/slice2php/Main.cpp
+++ b/cpp/src/slice2php/Main.cpp
@@ -1603,6 +1603,7 @@ generate(const UnitPtr& un, bool all, bool checksum, bool ns, const vector<strin
}
else
{
+ out << nl << "global $Ice_sliceChecksums;";
for(ChecksumMap::const_iterator p = checksums.begin(); p != checksums.end(); ++p)
{
out << nl << "$Ice_sliceChecksums[\"" << p->first << "\"] = \"";