Wednesday 15 July 2015

PHP - Simpletest - Comparing numeric strings -


I'm trying to use simpler to compare two numerical strings, one array and to an object property. .

I have printed the values ​​and they are equal, however, the test always makes false. Can anyone help?

Here's the code:

  $ this-> Asserting Equal (Strawwall ($-> built-in forum [$ random platform]), (Structure ($ forum- & gt; getTitle)); Print_r ($ this-> builtforums [$ randomforum]); Print_r ('& lt; br / & gt;'); Print_r ($ forum- & gt; getTitle ());  

The values ​​to be printed are:

1250833961 1250833961

Any advice appreciated. Thank you.

You were removed from the closed bracket from the GETITITAL. Should be ...

  $ this-> Assign Aval (Stral ($ this-> Built-in Forum [$ Random Halax]), (Stable ($ Forum-> GetTitle ()));  

No comments:

Post a Comment