在PHP中调用java脚本 [英] Calling java script in PHP

查看:74
本文介绍了在PHP中调用java脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这段代码。


I have this code.


展开 | 选择 | Wrap | 行号

推荐答案

< a href =https://bytes.com/topic/php/answers/872915-calling-java-script-php#post3505912\"rel =nofollowclass =at_reply> @dheerajjoshim


不,它应该给出无选择。如果你做 var_dump(
@dheerajjoshim
No, it should give "No choice". if you do var_dump(


res); 你会明白为什么。此外,即使
res); you?ll see why. besides, even if


res 是一个字符串,它仍然会匹配默认的chioce。

@dheerajjoshim


你怎么得出这个结论?
res would be a string it still would match the default chioce.

@dheerajjoshim
how do you come to that conclusion?


这篇关于在PHP中调用java脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆