php自动缓冲生成php文件,关于PHP扩展ext_skel生成文件乱码的问题(初级)

文件内容:

xxx.def

resource file_open(string filename, string mode)

bool file_close(resource filehandle)

string file_read(resource filehandle, int size)

bool file_write(resource filehandle, string buffer)

bool file_eof(resource filehandle)

命令:

./ext_skel --extname=xxx proto=xxx.def请输入代码

请问,为什么会出现144行的???,是因为编码问题么?还是什么问题,怎么解决下。

bVthLC

回复内容:

文件内容:

xxx.def

resource file_open(string filename, string mode)

bool file_close(resource filehandle)

string file_read(resource filehandle, int size)

bool file_write(resource filehandle, string buffer)

bool file_eof(resource filehandle)

命令:

./ext_skel --extname=xxx proto=xxx.def请输入代码

请问,为什么会出现144行的???,是因为编码问题么?还是什么问题,怎么解决下。

bVthLC

直接改不就行了,ext_skel 只是用来生成默认形式的扩展的,并不一定非要用它来生成扩展,自己手动敲也能写。

本文原创发布php中文网,转载请注明出处,感谢您的尊重!

专题推荐:php 扩展

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值