Home > Backend Development > PHP Tutorial > 请问怎样将字符公式计算出结果

请问怎样将字符公式计算出结果

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:21:41
Original
885 people have browsed it

请教怎样将字符公式计算出结果?
比如 数据库里存入 公式:50+2*3/5

请问 怎样可以将这段 字符 计算得到结果?谢谢

------解决方案--------------------
eval()

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Problem with eval in python
From 1970-01-01 08:00:00
0
0
0
javascript eval
From 1970-01-01 08:00:00
0
0
0
node.js - Questions about eval in nodejs
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template