File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ function). Then you can read a FlatBuffer binary file, which you
4848pass the contents of to the ` GetRootAsMonster ` function:
4949
5050~~~ {.php}
51- // It is recommended that your use PSR autoload when using FlatBuffers in PHP.
51+ // It is recommended that you use PSR autoload when using FlatBuffers in PHP.
5252 // Here is an example:
5353 function __autoload($class_name) {
5454 // The last segment of the class name matches the file name.
@@ -69,7 +69,7 @@ pass the contents of to the `GetRootAsMonster` function:
6969 // Read the contents of the FlatBuffer binary file.
7070 $filename = "monster.dat";
7171 $handle = fopen($filename, "rb");
72- $contents = $ fread($handle, filesize($filename));
72+ $contents = fread($handle, filesize($filename));
7373 fclose($handle);
7474
7575 // Pass the contents to `GetRootAsMonster`.
You can’t perform that action at this time.
0 commit comments