Skip to content

Commit b5efc3b

Browse files
author
Greg Bowler
committed
Output pathname in example
1 parent 58cb1c1 commit b5efc3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/03-download-jpg.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
$file = new SplFileObject("/tmp/cat.$extension", "w");
4646
$bytesWritten = $file->fwrite($blob);
4747
echo "Written $bytesWritten bytes." . PHP_EOL;
48+
echo "Photo written to " . $file->getPathname() . PHP_EOL;
4849
});
4950

5051
// To execute the above Promise(s), call wait() or all().

0 commit comments

Comments
 (0)