3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Report_Filter { public bool = null; public Report_Field_ID = null; public Comparison = null; public Value = null; } $test = new Report_Filter(); $test->bool = 'and'; $test->Report_Field_ID = '11'; $test->Comparison = '='; $test->Value = 'cookie'; echo $test->bool; echo $test->Report_Field_ID; echo $test->Comparison; echo $test->Value;

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)
5.4.270.0100.06019.02
5.4.260.0230.06018.79
5.4.250.0230.06318.81
5.4.240.0170.07019.00
5.4.230.0100.07719.02
5.4.220.0200.04318.93
5.4.210.0170.04718.79
5.4.200.0130.06319.02
5.4.190.0070.06719.00
5.4.180.0130.07018.79
5.4.170.0100.07318.82
5.4.160.0130.04718.80
5.4.150.0100.05318.78
5.4.140.0070.05316.57
5.4.130.0070.04716.37
5.4.120.0200.05716.34
5.4.110.0130.06716.33
5.4.100.0100.05016.57
5.4.90.0130.05016.65
5.4.80.0100.06016.39
5.4.70.0100.06016.31
5.4.60.0100.06016.59
5.4.50.0100.04316.59
5.4.40.0070.05716.50
5.4.30.0030.05316.36
5.4.20.0200.04316.35
5.4.10.0030.05316.35
5.4.00.0130.04316.02
5.3.280.0100.05014.61
5.3.270.0070.05314.83
5.3.260.0070.05714.50
5.3.250.0000.05714.66
5.3.240.0100.05014.62
5.3.230.0100.06714.42
5.3.220.0100.05314.63
5.3.210.0070.05714.63
5.3.200.0130.07014.65
5.3.190.0170.04714.63
5.3.180.0200.06314.46
5.3.170.0170.06014.65
5.3.160.0130.04714.72
5.3.150.0130.07014.59
5.3.140.0100.07314.74
5.3.130.0070.07714.55
5.3.120.0130.04714.68
5.3.110.0170.05714.58
5.3.100.0000.05714.09
5.3.90.0030.05314.01
5.3.80.0070.05314.08
5.3.70.0130.06014.00
5.3.60.0100.05013.98
5.3.50.0170.05714.03
5.3.40.0100.07013.91
5.3.30.0030.05013.92
5.3.20.0030.07013.77
5.3.10.0070.05713.71
5.3.00.0200.04713.73
5.2.170.0100.04311.31
5.2.160.0070.05011.21
5.2.150.0130.05011.20
5.2.140.0100.05311.13
5.2.130.0070.05711.27
5.2.120.0130.05011.31
5.2.110.0000.05011.08
5.2.100.0100.04011.18
5.2.90.0030.04011.17
5.2.80.0100.04011.24
5.2.70.0070.05310.93
5.2.60.0130.05311.12
5.2.50.0100.03711.00
5.2.40.0070.05311.16
5.2.30.0030.04310.86
5.2.20.0030.04311.04
5.2.10.0030.05710.93
5.2.00.0100.05710.93
5.1.60.0000.03710.05
5.1.50.0100.04310.09
5.1.40.0030.03310.04
5.1.30.0000.05710.41
5.1.20.0170.03310.32
5.1.10.0170.03710.13
5.1.00.0070.03310.30
5.0.50.0070.0308.78
5.0.40.0000.0308.60
5.0.30.0000.0538.41
5.0.20.0030.0378.25
5.0.10.0100.0308.14
5.0.00.0000.0578.32
4.4.90.0070.0205.85
4.4.80.0000.0335.80
4.4.70.0070.0275.79
4.4.60.0000.0235.84
4.4.50.0070.0235.84
4.4.40.0000.0475.80
4.4.30.0000.0235.82
4.4.20.0000.0335.91
4.4.10.0070.0275.90
4.4.00.0030.0335.88
4.3.110.0000.0275.79
4.3.100.0000.0235.78
4.3.90.0000.0305.77
4.3.80.0000.0405.81
4.3.70.0070.0175.82
4.3.60.0030.0235.77
4.3.50.0030.0235.88
4.3.40.0030.0375.75
4.3.30.0000.0335.75
4.3.20.0030.0235.75
4.3.10.0030.0205.75
4.3.00.0100.0236.11

preferences:
140.53 ms | 1394 KiB | 7 Q