3v4l.org

run code in 200+ PHP versions simultaneously
<?php error_reporting(0); ?> <?=Z^z; /* 32 */?> <?=Y^x; /* 33 ! */?> <?=Z^x; /* 34 " */?> <?=Z^y; /* 35 # */?> <?=W^s; /* 36 $ */?> <?=W^r; /* 37 % */?> <?=W^q; /* 38 & */?> <?=W^p; /* 39 ' */?> <?=Z^r; /* 40 ( */?> <?=Z^s; /* 41 ) */?> <?=Z^p; /* 42 * */?> <?=Z^q; /* 43 + */?> <?=Z^v; /* 44 , */?> <?=Z^w; /* 45 - */?> <?=Z^t; /* 46 . */?> <?=Z^u; /* 47 / */?> <?=Z^j; /* 48 0 */?> <?=Z^k; /* 49 1 */?> <?=Z^h; /* 50 2 */?> <?=Z^i; /* 51 3 */?> <?=Z^n; /* 52 4 */?> <?=Z^o; /* 53 5 */?> <?=Z^l; /* 54 6 */?> <?=Z^m; /* 55 7 */?> <?=Z^b; /* 56 8 */?> <?=Z^c; /* 57 9 */?> <?=Y^c; /* 58 : */?> <?=Z^d; /* 62 > */?> <?=Z&e; /* 64 @ */?> <?=Y&g; /* 65 A */?> <?=Z&g; /* 66 B */?> <?=W&k; /* 67 C */?> <?=W&l; /* 68 D */?> <?=W&m; /* 69 E */?> <?=W&n; /* 70 F */?> <?=W&o; /* 71 G */?> <?=Z&m; /* 72 H */?> <?=Y&o; /* 73 I */?> <?=Z&o; /* 74 J */?> <?=O&k; /* 75 K */?> <?=O&l; /* 76 L */?> <?=O&m; /* 77 M */?> <?=O&n; /* 78 N */?> <?=M|N; /* 79 O */?> <?=Z&u; /* 80 P */?> <?=Y&w; /* 81 Q */?> <?=Z&w; /* 82 R */?> <?=W&s; /* 83 S */?> <?=W&t; /* 84 T */?> <?=W&u; /* 85 U */?> <?=W&v; /* 86 V */?> <?=U|V; /* 87 W */?> <?=Z&y; /* 88 X */?> <?=Q|X; /* 89 Y */?> <?=R|X; /* 90 Z */?> <?=Y|Z; /* 91 [ */?> <?=T|X; /* 92 \ */?> <?=U|Y; /* 93 ] */?> <?=V|Z; /* 94 ^ */?> <?=W|Z; /* 95 _ */?> <?=o&p; /* 96 ` */?> <?=o&q; /* 97 a */?> <?=o&r; /* 98 b */?> <?=o&s; /* 99 c */?> <?=o&t; /* 100 d */?> <?=o&u; /* 101 e */?> <?=o&v; /* 102 f */?> <?=o&w; /* 103 g */?> <?=o&x; /* 104 h */?> <?=o&y; /* 105 i */?> <?=o&z; /* 106 j */?> <?=i|j; /* 107 k */?> <?=m&n; /* 108 l */?> <?=i|l; /* 109 m */?> <?=j|l; /* 110 n */?> <?=m|n; /* 111 o */?> <?=w&x; /* 112 p */?> <?=w&y; /* 113 q */?> <?=w&z; /* 114 r */?> <?=q|r; /* 115 s */?> <?=u&v; /* 116 t */?> <?=q|t; /* 117 u */?> <?=r|t; /* 118 v */?> <?=u|v; /* 119 w */?> <?=y&z; /* 120 x */?> <?=q|x; /* 121 y */?> <?=r|x; /* 122 z */?> <?=y|z; /* 123 { */?> <?=u|y; /* 125 } */?> <?=v|z; /* 126 ~ */?> <?php // Special cases: ?> <?=Z^a?> <?php /* 59 ; */?> <?php echo Z^g; /* 61 = */?> <?='9'^E; /* 124 | */?>
based on H3RXD

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.4.00.0060.01014.96
7.3.120.0100.00714.85
7.3.110.0040.01414.71
7.3.100.0070.00714.73
7.3.90.0070.01014.91
7.3.80.0030.00615.01
7.3.70.0110.00814.88
7.3.60.0070.00714.98
7.3.50.0070.00315.00
7.3.40.0030.01614.89
7.3.30.0060.00915.00
7.3.20.0100.00616.32
7.3.10.0030.00616.48
7.3.00.0060.00316.67
7.2.250.0110.01115.02
7.2.240.0100.01015.07
7.2.230.0000.01214.70
7.2.220.0060.00615.21
7.2.210.0030.00914.76
7.2.200.0040.01115.15
7.2.190.0030.01315.05
7.2.180.0040.01515.18
7.2.170.0000.01415.28
7.2.60.0110.00316.72
7.1.330.0030.01115.39
7.1.320.0000.00915.36
7.1.310.0090.00315.57
7.1.300.0110.00415.37
7.1.290.0080.00615.79
7.1.280.0040.01415.34
7.1.270.0060.00915.62
7.1.260.0060.00915.68
7.1.200.0030.00615.90
7.1.70.0030.01217.10
7.1.60.0040.01219.81
7.1.00.0070.07322.51
7.0.200.0310.00315.02
7.0.100.0170.05720.28
7.0.90.0270.05020.03
7.0.80.0070.06020.14
7.0.70.0170.05720.07
7.0.60.0100.06320.14
7.0.50.0100.07320.44
7.0.40.0200.07720.34
7.0.30.0100.06020.55
7.0.20.0100.06320.50
7.0.10.0100.05720.33
7.0.00.0200.05720.46
5.6.250.0070.06320.79
5.6.240.0000.06720.69
5.6.230.0100.06020.74
5.6.220.0170.08020.69
5.6.210.0200.06720.77
5.6.200.0230.06721.08
5.6.190.0170.07721.15
5.6.180.0130.05321.18
5.6.170.0030.06321.13
5.6.160.0170.05321.14
5.6.150.0130.06021.26
5.6.140.0170.05321.14
5.6.130.0200.05321.18
5.6.120.0070.06321.26
5.6.110.0200.05321.15
5.6.100.0200.05321.14
5.6.90.0070.06321.13
5.6.80.0100.05320.48
5.6.70.0100.05320.61
5.6.60.0030.06020.50
5.6.50.0130.05320.58
5.6.40.0100.05320.43
5.6.30.0170.04720.48
5.6.20.0130.05720.43
5.6.10.0130.05720.50
5.6.00.0030.06020.55