3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o = new stdClass; $o->type = 'cursus'; $a = array('#node' => $o); if ($a['#node']->type == 'cursus') { echo 'Cursus'; } else { echo 'Not cursus'; }

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)
8.3.60.0180.00416.63
8.3.50.0110.00622.93
8.3.40.0080.00818.84
8.3.30.0140.00019.22
8.3.20.0040.00420.52
8.3.10.0030.00523.60
8.3.00.0040.00419.38
8.2.180.0150.00416.38
8.2.170.0070.01122.96
8.2.160.0090.00620.41
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0130.00726.16
8.2.120.0080.00020.86
8.2.110.0090.00022.27
8.2.100.0040.00819.21
8.2.90.0020.00919.04
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0080.00018.03
8.2.50.0070.00418.07
8.2.40.0080.00020.00
8.2.30.0000.00718.04
8.2.20.0080.00017.75
8.2.10.0000.00718.06
8.2.00.0000.00717.74
8.1.280.0110.00425.92
8.1.270.0080.00023.95
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00023.79
8.1.230.0080.00319.21
8.1.220.0070.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.36
8.1.190.0040.00417.25
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0040.00421.93
8.1.150.0000.00818.77
8.1.140.0030.00517.51
8.1.130.0000.00717.75
8.1.120.0000.00717.51
8.1.110.0000.00717.47
8.1.100.0080.00017.36
8.1.90.0050.00317.48
8.1.80.0030.00417.37
8.1.70.0040.00417.42
8.1.60.0060.00317.45
8.1.50.0030.00617.51
8.1.40.0030.00517.50
8.1.30.0040.00417.68
8.1.20.0050.00217.68
8.1.10.0000.00817.61
8.1.00.0050.00317.50
8.0.300.0050.00318.77
8.0.290.0080.00016.75
8.0.280.0000.00718.45
8.0.270.0030.00317.25
8.0.260.0030.00317.25
8.0.250.0040.00216.94
8.0.240.0060.00016.81
8.0.230.0000.00716.93
8.0.220.0000.00716.82
8.0.210.0000.00716.79
8.0.200.0030.00316.86
8.0.190.0040.00416.94
8.0.180.0030.00516.82
8.0.170.0030.00516.86
8.0.160.0040.00416.81
8.0.150.0040.00416.79
8.0.140.0000.00816.78
8.0.130.0060.00013.23
8.0.120.0070.00016.77
8.0.110.0020.00516.87
8.0.100.0000.00716.88
8.0.90.0050.00216.77
8.0.80.0060.00916.89
8.0.70.0000.00716.85
8.0.60.0080.00016.74
8.0.50.0080.00016.82
8.0.30.0050.01716.90
8.0.20.0160.01017.40
8.0.10.0030.00616.96
8.0.00.0100.01116.75
7.4.330.0000.00615.00
7.4.320.0040.00416.62
7.4.300.0060.00016.65
7.4.290.0040.00416.52
7.4.280.0040.00416.61
7.4.270.0040.00416.43
7.4.260.0070.00016.48
7.4.250.0080.00016.55
7.4.240.0000.00716.57
7.4.230.0000.00716.55
7.4.220.0120.00616.37
7.4.210.0090.00616.61
7.4.200.0040.00416.51
7.4.160.0060.00916.52
7.4.150.0100.00717.40
7.4.140.0030.01417.86
7.4.130.0040.01316.56
7.4.120.0080.00816.46
7.4.110.0060.01016.52
7.4.100.0110.01116.34
7.4.90.0170.00016.53
7.4.80.0120.00819.39
7.4.70.0150.00316.70
7.4.60.0120.00316.51
7.4.50.0000.00816.54
7.4.40.0060.01016.56
7.4.30.0040.01116.69
7.4.00.0000.01715.08
7.3.330.0000.00513.02
7.3.320.0090.00013.20
7.3.310.0040.00416.30
7.3.300.0000.00716.18
7.3.290.0060.00916.33
7.3.280.0130.00516.25
7.3.270.0100.00717.40
7.3.260.0030.01516.27
7.3.250.0110.00616.61
7.3.240.0120.00616.30
7.3.230.0080.00816.51
7.3.210.0040.01216.62
7.3.200.0060.00919.39
7.3.190.0060.01016.32
7.3.180.0030.01816.51
7.3.170.0040.01216.45
7.3.160.0110.00416.53
7.3.10.0080.00816.57
7.3.00.0050.01216.71
7.2.330.0070.01716.60
7.2.320.0120.00416.70
7.2.310.0030.01316.56
7.2.300.0060.01116.41
7.2.290.0090.00616.58
7.2.130.0060.00716.97
7.2.120.0110.00516.86
7.2.110.0110.00516.72
7.2.100.0070.00816.65
7.2.90.0070.00716.68
7.2.80.0050.00916.91
7.2.70.0090.00517.04
7.2.60.0070.00417.02
7.2.50.0080.00516.73
7.2.40.0070.00516.86
7.2.30.0090.00416.85
7.2.20.0050.01017.06
7.2.10.0080.00616.93
7.2.00.0060.00717.83
7.1.250.0060.00815.82
7.1.200.0030.00915.73
7.1.100.0110.00418.16
7.1.70.0040.00417.04
7.1.60.0070.01819.40
7.1.50.0070.01516.87
7.1.00.0070.07322.49
7.0.200.0030.01016.70
7.0.140.0070.06722.09
7.0.60.0070.04319.92
7.0.50.0070.04717.87
7.0.40.0070.04320.04
7.0.30.0200.03720.09
7.0.20.0300.06320.04
7.0.10.0030.04320.16
7.0.00.0100.05319.99
5.6.280.0100.06720.92
5.6.210.0000.04320.52
5.6.200.0100.08018.18
5.6.190.0070.04720.60
5.6.180.0300.07320.48
5.6.170.0330.03720.42
5.6.160.0030.09020.49
5.6.150.0130.05718.22
5.6.140.0070.08018.21
5.6.130.0030.04718.07
5.6.120.0030.09021.14
5.6.110.0070.07320.97
5.6.100.0130.07721.04
5.6.90.0070.06020.98
5.6.80.0170.07020.30
5.5.350.0300.07720.32
5.5.340.0030.06317.98
5.5.330.0070.07720.20
5.5.320.0330.06720.20
5.5.310.0230.05720.27
5.5.300.0130.07317.90
5.5.290.0030.07717.98
5.5.280.0070.04720.85
5.5.270.0070.07320.67
5.5.260.0130.06320.87
5.5.250.0070.06020.68
5.5.240.0070.07720.28
5.4.450.0670.06719.57
5.4.440.0830.04719.25
5.4.430.1200.05019.46
5.4.420.0930.06319.25
5.4.410.0130.05018.98
5.4.400.0230.05718.66
5.4.390.0500.04018.78
5.4.380.0030.05718.61
5.4.370.0030.04318.65
5.4.360.0030.04718.73
5.4.350.0060.05411.98
5.4.340.0040.03911.97
5.4.320.0050.04012.46
5.4.310.0060.03812.45
5.4.300.0070.03512.45
5.4.290.0060.04912.45
5.4.280.0070.03512.35
5.4.270.0050.03612.35
5.4.260.0070.03712.35
5.4.250.0060.04012.35
5.4.240.0080.03412.35
5.4.230.0040.03912.34
5.4.220.0070.03712.34
5.4.210.0060.03512.34
5.4.200.0050.03812.34
5.4.190.0030.03812.34
5.4.180.0060.03512.34
5.4.170.0080.03312.35
5.4.160.0050.03712.34
5.4.150.0070.03512.34
5.4.140.0090.03412.02
5.4.130.0070.03412.01
5.4.120.0110.03011.97
5.4.110.0110.03011.97
5.4.100.0030.03811.97
5.4.90.0080.03511.97
5.4.80.0090.03411.97
5.4.70.0080.03311.96
5.4.60.0070.03611.96
5.4.50.0040.04011.96
5.4.40.0060.03511.95
5.4.30.0070.03411.95
5.4.20.0040.03611.95
5.4.10.0040.03511.95
5.4.00.0050.03611.44
5.3.290.0040.04112.80
5.3.280.0060.04112.71
5.3.270.0100.03912.72
5.3.260.0110.04612.72
5.3.250.0030.04012.72
5.3.240.0070.04312.72
5.3.230.0030.04112.71
5.3.220.0050.03712.68
5.3.210.0060.04212.68
5.3.200.0120.03312.68
5.3.190.0080.03612.68
5.3.180.0050.03812.67
5.3.170.0070.03512.67
5.3.160.0060.03612.67
5.3.150.0050.03712.68
5.3.140.0040.03712.66
5.3.130.0070.03712.66
5.3.120.0080.03612.66
5.3.110.0050.04012.66
5.3.100.0060.03712.12
5.3.90.0070.03412.09
5.3.80.0050.03612.08
5.3.70.0050.03712.07
5.3.60.0070.03912.06
5.3.50.0040.03912.00
5.3.40.0070.03512.00
5.3.30.0050.03611.94
5.3.20.0100.03111.72
5.3.10.0110.03011.69
5.3.00.0060.03811.68
5.2.170.0040.0319.18
5.2.160.0050.0299.18
5.2.150.0080.0429.18
5.2.140.0110.0379.17
5.2.130.0100.0389.13
5.2.120.0060.0419.13
5.2.110.0050.0399.14
5.2.100.0080.0519.14
5.2.90.0070.0329.14
5.2.80.0060.0389.13
5.2.70.0100.0389.13
5.2.60.0050.0459.09
5.2.50.0080.0469.05
5.2.40.0140.0349.03
5.2.30.0100.0389.01
5.2.20.0120.0629.00
5.2.10.0130.0398.91
5.2.00.0140.0718.78
5.1.60.0100.0618.06
5.1.50.0120.0348.06
5.1.40.0050.0298.04
5.1.30.0080.0328.39
5.1.20.0050.0328.41
5.1.10.0060.0328.13
5.1.00.0100.0308.14
5.0.50.0020.0296.61
5.0.40.0040.0236.48
5.0.30.0040.0346.29
5.0.20.0050.0256.26
5.0.10.0030.0216.23
5.0.00.0030.0346.23
4.4.90.0030.0174.78
4.4.80.0020.0194.75
4.4.70.0010.0204.75
4.4.60.0040.0184.75
4.4.50.0110.0164.77
4.4.40.0070.0344.71
4.4.30.0060.0324.76
4.4.20.0070.0244.84
4.4.10.0040.0224.85
4.4.00.0010.0334.76
4.3.110.0040.0214.67
4.3.100.0030.0234.67
4.3.90.0050.0214.63
4.3.80.0040.0314.59
4.3.70.0060.0204.63
4.3.60.0030.0214.63
4.3.50.0020.0194.63
4.3.40.0020.0264.54
4.3.30.0030.0173.29
4.3.20.0040.0183.27
4.3.10.0030.0173.23
4.3.00.0200.0237.12

preferences:
40.68 ms | 401 KiB | 5 Q