This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
leetcode
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix true / false sprintf error
master
Tovi Jaeschke-Rogers
2 years ago
parent
5f5e689874
commit
9c7bcc1e1b
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
romanToInt.php
+ 1
- 1
romanToInt.php
View File
@ -134,7 +134,7 @@ class Solution {
}
}
echo
sprintf
(
echo
sprintf
(
'Succeeded: The value of \'%
d
\' matched the expected value of \'%s\''
.
PHP_EOL
,
'Succeeded: The value of \'%
s
\' matched the expected value of \'%s\''
.
PHP_EOL
,
$val
?
'True'
:
'False'
,
$val
?
'True'
:
'False'
,
$str
$str
);
);
Write
Preview
Loading…
Cancel
Save