li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.0.x)
  • lithium
  • g11n
  • multibyte
  • adapter
  • Mbstring
  • strrpos()

Contents

  • ../

lithium\g11n\multibyte\adapter\Mbstring::strrpos()

public method

Here used as a multibyte enabled equivalent of strrpos().

Parameters

  • string $haystack
  • string $needle

Returns

integer|boolean

Links

  • http://php.net/function.mb-strpos.php

Source

	public function strrpos($haystack, $needle) {
		return mb_strrpos($haystack, $needle, 0, 'UTF-8');
	}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

– no comment –

Pretty much everything is (c) 2009-2025 and beyond, the Union of RAD.