summaryrefslogtreecommitdiff
path: root/Examples/php/sync/example.cxx
blob: 0942279b2369324817dfc157913b91abbe964e33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "example.h"
#include <stdio.h>

int x = 42;
char *s = (char *)"Test";

void Sync::printer(void) {

	printf("The value of global s is %s\n", s);
	printf("The value of global x is %d\n", x);
	printf("The value of class s is %s\n", s);
	printf("The value of class x is %d\n", x);
}