diff --git a/en/orm/database-basics.rst b/en/orm/database-basics.rst index bc1613fa57..3c369d2dfb 100644 --- a/en/orm/database-basics.rst +++ b/en/orm/database-basics.rst @@ -515,7 +515,7 @@ value object and into SQL expressions:: public function marshall($value) { if (is_string($value)) { - $value = extract(',', $value); + $value = explode(',', $value); } if (is_array($value)) { return new Point($value[0], $value[1]);