public static function decode( $context, $text ) { $decoded = ''; $end = strlen( $text ); $at = 0; $was_at = 0; while ( $at < $end ) { $next_character_reference_at = strpos( $text, '&', $at ); if ( false === $next_character_reference_at || $next_character_reference_at >= $end ) { break; } $character_reference = self::read_character_reference( $context, $text, $next_character_reference_at, $token_length ); if ( isset( $character_reference ) ) { $at = $next_character_reference_at; $decoded .= substr( $text, $was_at, $at - $was_at ); $decoded .= $character_reference; $at += $token_length; $was_at = $at; continue; } ++$at; } if ( 0 === $was_at ) { return $text; } if ( $was_at < $end ) { $decoded .= substr( $text, $was_at, $end - $was_at ); } return $decoded; } class WP_HTML_Stack_Event { /** * Refers to popping an element off of the stack of open elements. * * @since 6.6.0 */ const POP = 'pop'; /** * Refers to pushing an element onto the stack of open elements. * * @since 6.6.0 */ const PUSH = 'push'; /** * References the token associated with the stack push event, * even if this is a pop event for that element. * * @since 6.6.0 * * @var WP_HTML_Token */ public $token; /** * Indicates which kind of stack operation this event represents. * * May be one of the class constants. * * @since 6.6.0 * * @see self::POP * @see self::PUSH * * @var string */ public $operation; /** * Indicates if the stack element is a real or virtual node. * * @since 6.6.0 * * @var string */ public $provenance; /** * Constructor function. * * @since 6.6.0 * * @param WP_HTML_Token $token Token associated with stack event, always an opening token. * @param string $operation One of self::PUSH or self::POP. * @param string $provenance "virtual" or "real". */ public function __construct( $token, $operation, $provenance ) { $this->token = $token; $this->operation = $operation; $this->provenance = $provenance; } } What’s On – Thanyapura Phuket – Sport & Health Resort Phuket What’s On – Thanyapura Phuket – Sport & Health Resort Phuket

What's On

There is always something happening at Thanyapura Sports & Health Resort, Phuket.  Training camps, kid’s camps, daily group classes, health talks, visiting specialists, swim meets and other sporting events are just some of the things you’ll find going on at Thanyapura – both offline and online!

Upcoming Events & Camps

YOUTH TENNIS OPEN 10s 2024

14-15 Sep 2024
Tournament 2
New

YOUTH TENNIS OPEN 2024

22 - 23 June 2024
TOURNAMENT 2

Thanyapura Beach Tennis Open 2024

22 - 23 June 2024
LTAT Tournament 2

Future Star 2024

24 Jun - 9 Aug 2024
The ultimate sports training program

TRI-SERIES

28 July 2024
Thanyapura is the ultimate destination.

TRI-SERIES

Thanyapura is the ultimate destination.
New

Promotions

Long Stay Promotion

Make Phuket your home in 2023! Live in paradise of better health and well-being for everyone in your family.
New

Membership Promotion

Supercharge Your Fitness Journey with Thanyapura Purchase a 3-Month Sport Membership and Receive an Extra Month Absolutely FREE! This Exclusive Offer is Valid Only from today to 31 July 2023.
New

Indian Head Massage Special Spa Offer!

We're thrilled to announce a limited-time PROMOTION at Thanyapura Spa! Experience the ultimate bliss of an Indian Head Massage with a fantastic 15% discount!
New

Indulge in the Delightful Renew & RejuvenateActive Retreat at Thanyapura

Escape to Thanyapura's serene and picturesque wellness retreat, nestled in a tranquil setting
New

Splendid Executive Revitalization Health Retreat

A high-stakes career undeniably creates stress and takes a toll on the body as well as the mind.
New

Game Changer Optimal Wellness Journey

If you really need to change your life and give yourself a gift of personal growth, Thanyapura’s Game Changer Package is an excellent choice for you.
New

Exceptional Optimal Fit and Healthy Lifestyle Journey

Picture yourself relaxing and stepping into a healthier you as your wellness week unfolds.
New

Long Stay Promotion

Make Phuket your home in 2023! Live in paradise of better health and well-being for everyone in your family.

Group Class

Join The Club

Short Term and Long Term Membership Options Available