라라벨 studly case()

1 개요[ | ]

라라벨 studly_case()
$samples = array('foo_bar', 'Foo Bar', 'FooBar', 'fooBar', 'Foobar', 'foo bar', 'FOOBAR');
foreach( $samples as $sample ) {
	echo $sample." → ".studly_case($sample) . PHP_EOL;
}
# foo_bar → FooBar
# foo bar → FooBar
# Foo Bar → FooBar
# FooBar → FooBar
# fooBar → FooBar
# Foobar → Foobar
# FOOBAR → FOOBAR

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}