Changeset 29308
- Timestamp:
- 04/29/10 09:24:51 (3 years ago)
- Files:
-
- tools/lime/trunk/lib/lime.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/lime/trunk/lib/lime.php
r29057 r29308 292 292 public function cmp_ok($exp1, $op, $exp2, $message = '') 293 293 { 294 eval(sprintf("\$result = \$exp1 $op \$exp2;")); 294 $php = sprintf("\$result = \$exp1 $op \$exp2;"); 295 // under some unknown conditions the sprintf() call causes a segmentation fault 296 // when placed directly in the eval() call 297 eval($php); 298 295 299 if (!$this->ok($result, $message)) 296 300 {