3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $oggetto = "CONSEGNA: Validazione indirizzo PEC"; $subject = "AVVISO DI MANCATA CONSEGNA: Validazione indirizzo PEC [ca282bf8#25125]"; //$subject = "CONSEGNA: Validazione indirizzo PEC [ca282bf8#25125]"; $position = stripos($subject, 'CONSEGNA: Validazione indirizzo PEC'); if(false === $position || $position !== 0) { echo "NO"; }
based on 07V9C

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.10.0100.00716.29
7.3.00.0190.00316.06
7.2.130.0030.00616.38
7.2.120.0150.00416.30
7.2.110.0130.00016.35
7.2.100.0090.00916.02
7.2.90.0280.01216.78
7.2.80.0060.00916.33
7.2.70.0210.00616.59
7.2.60.0150.00716.70
7.2.50.0290.00716.25
7.2.40.0150.00716.47
7.2.30.0170.00916.73
7.2.20.0080.00416.61
7.2.10.0090.00916.46
7.2.00.0240.00417.94
7.1.250.0140.00315.64
7.1.200.0060.00315.79
7.1.100.0040.00818.05
7.1.70.0030.00616.87
7.1.60.0430.01332.94
7.1.50.0470.00732.92
7.1.40.0430.01032.56
7.1.30.0430.00732.50
7.1.20.0270.01032.71
7.1.10.0230.00714.81
7.1.00.0300.00714.75
7.0.200.0370.00014.88
7.0.190.0330.00714.74
7.0.180.0330.01014.24
7.0.170.0130.01314.56
7.0.160.0230.01314.07
7.0.150.0100.00314.23
7.0.140.0200.01714.46
7.0.130.0330.00014.57
7.0.120.0400.00714.52
7.0.110.0230.01314.47
7.0.100.0330.00314.42
7.0.90.1370.00714.40
7.0.80.0330.00314.36
7.0.70.0300.00714.27
7.0.60.0270.01314.24
7.0.50.0500.01014.41
7.0.40.0130.00714.58
7.0.30.0000.01314.74
7.0.20.0370.00314.31
7.0.10.0300.01014.48
7.0.00.0270.01314.68
hhvm-3.15.40.0700.14385.08
5.6.300.0200.04720.71
5.6.290.0170.05320.65
5.6.280.0170.04720.77
5.6.270.0070.06320.77
5.6.260.0070.06320.75
5.6.250.0130.05320.98
5.6.240.0200.05320.73
5.6.230.0000.07020.75
5.6.220.0100.05720.69
5.6.210.0130.06020.57
5.6.200.0030.07020.68
5.6.190.0230.05020.81
5.6.180.0070.06020.88
5.6.170.0000.06720.71
5.6.160.0200.05020.82
5.6.150.0170.05320.91
5.6.140.0200.05020.82
5.6.130.0100.06020.90
5.6.120.0030.07720.97
5.6.110.0270.05320.70
5.6.100.0200.06320.68
5.6.90.0170.05020.73
5.6.80.0070.06020.18
5.6.70.0170.05020.09
5.6.60.0130.05720.09
5.6.50.0170.04720.09
5.6.40.0100.05720.11
5.6.30.0170.05020.27
5.6.20.0100.05320.23
5.6.10.0170.05020.24
5.6.00.0200.04720.12