48 文字
1 分
PHP5.0.5 bug
This might be a bug. I want to try this stiation using 5.1.2 but PDFlib runs only 5.1.x environment.
<?php$num = 100;
// Doesn't workheader("Content-Length: $num");
// Worksheader("Content-Length: ".$num);
// Worksprint("test $num");
// Worksprint("test ".$num);
?>I spent 1 hour to find this tricky spec.
PHP5.0.5 bug
https://blog.teraren.com/posts/php505-bug/