Date: 01/24/01
- Next message: nano76 <email protected>: "[PHP-DEV] PHP 4.0 Bug #8891: No parse"
- Previous message: Boian Bonev: "Re: [PHP-DEV] EXTENSIONS file refresh.."
- In reply to: Jani Taskinen: "Re: [PHP-DEV] Proposal for updating the PDF-extension"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] Proposal for updating the PDF-extension"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
hi,
> >There are probably other points which need to be discussed like
> >what a function should return if it fails. Many php functions return
> >false but pdflib's api requires to return -1.
>
> Again, we should be consistant within PHP the language.
> ie. if function fails -> RETURN_FALSE.
>
> IMO.
+1
also you can manage extension global errno and handle errors, provide for
example pdf_str_error(void) or something.
most people need not check all possible cases. on the other side it should
be possible and not only possible but easy.
b.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: nano76 <email protected>: "[PHP-DEV] PHP 4.0 Bug #8891: No parse"
- Previous message: Boian Bonev: "Re: [PHP-DEV] EXTENSIONS file refresh.."
- In reply to: Jani Taskinen: "Re: [PHP-DEV] Proposal for updating the PDF-extension"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] Proposal for updating the PDF-extension"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

