Skip to content

Commit

Permalink
Fix typo in php.ini setting name
Browse files Browse the repository at this point in the history
  • Loading branch information
kukawski committed Mar 19, 2020
1 parent 31b4e74 commit 9fb9c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/php/strings/substr.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = function substr (str, start, len) {
str += ''
var end = str.length

var iniVal = (typeof require !== 'undefined' ? require('../info/ini_get')('unicode.emantics') : undefined) || 'off'
var iniVal = (typeof require !== 'undefined' ? require('../info/ini_get')('unicode.semantics') : undefined) || 'off'

if (iniVal === 'off') {
// assumes there are no non-BMP characters;
Expand Down

0 comments on commit 9fb9c85

Please sign in to comment.