1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 01:53:36 +02:00

Patch STDOUT support.

This commit is contained in:
Sterling Hughes
2000-07-18 05:52:03 +00:00
parent 84d4f5cad4
commit bb5987fe74

View File

@@ -175,7 +175,7 @@ PHP_FUNCTION(swf_openfile)
}
#endif
swf_openfile((strcasecmp("php://stdout", na)==0) ? fileno(stdout) : na,
swf_openfile((strcasecmp("php://stdout", na)==0) ? "STDOUT" : na,
(float)Z_DVAL_PP(sizeX), (float)Z_DVAL_PP(sizeY),
(float)Z_DVAL_PP(frameRate), (float)Z_DVAL_PP(r), (float)Z_DVAL_PP(g), (float)Z_DVAL_PP(b));
#ifdef VIRTUAL_DIR