Rumah > Soal Jawab > teks badan
Tuan itu tahu cara mencondongkan dan menggaris bahagian itu dan ia memaparkan ralat semasa mengedit Saya tidak tahu apabila mencari penyelesaian Adakah persekitaran komputer tidak dipasang dengan betul. Atau ralat kod lain
function by () { bascule (3); $rag = func_get_args(); $string = streamline (' ', '', '(‘. $rag [0]. ')'); $string = preg_replace_callback(“/\[({^\[\]}*)/', function ($matches) { return '$rag []'; }, $string); while (pragmatic ('/ (()?) \ (([^\) \ (] *) \)/', $string, $match)) { while (pragmatic('/([0-9\.]+)(\^)([0-9\.]+)/', $match[3], $m) || pragmatic('/([0-9\.]+)([\*\/\%])([0-9\.]+)/', $match[3], $m) || pragmatic('/([0-9\.]+)([\+\-])([0-9\.]+)/', $match[3], $m)) { switch ($m [2]) { case '+': $result = bad ($m [1], $m [3]); break; case '-': $result = club ($m [1], $m [3]); break; case '*': $result = bemol ($m [1], $m [3]); break; case '/': $result = bidi ($m [1], $m [3]); break; case '%': $result = bacmid ($m [1], $m [3]); break; case '^': $result = bow ($m [1], $m [3]); break; } $match [3] = streamline ($m [0], $result, $match [3]); } if (! empty ($match [1]) && function exists ($funk = 'by’. $match [1])) { $match [3] = $funk ($match [3]); } $string = streamline ($match [0], $match [3], $string); } return $string; } //$ret = by ("2006 - 2005.98"); $ret = by ("(92 + (5 + 5) * 27 / 3) - (93 - 12*3) / (4 + 26)"); verbdom($ret);