3v4l.org

run code in 300+ PHP versions simultaneously
<?php class UAF { protected $intent; public static function String($a) { return new static($a); } public function setIntent($b) { $this->intent = $b; return $this; } } (new UAF())->setIntent('test'); (UAF::String('test'))->setIntent('test');

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.0040.01118.68
8.3.50.0070.00716.39
8.3.40.0150.00618.67
8.3.30.0040.01118.54
8.3.20.0040.00418.98
8.3.10.0050.00323.48
8.3.00.0080.00020.61
8.2.180.0130.00718.28
8.2.170.0040.01122.96
8.2.160.0110.00422.08
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0080.00021.04
8.2.110.0000.01019.44
8.2.100.0040.00817.79
8.2.90.0050.00317.49
8.2.80.0090.00017.97
8.2.70.0050.00317.80
8.2.60.0080.00018.09
8.2.50.0030.00618.10
8.2.40.0040.00419.34
8.2.30.0030.00519.24
8.2.20.0040.00417.99
8.2.10.0070.00018.06
8.2.00.0000.00818.07
8.1.280.0120.00325.92
8.1.270.0070.00024.01
8.1.260.0000.01028.09
8.1.250.0150.00328.09
8.1.240.0080.00023.97
8.1.230.0040.00818.95
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0000.00817.11
8.1.180.0000.00818.10
8.1.170.0030.00518.57
8.1.160.0080.00018.73
8.1.150.0020.00518.67
8.1.140.0040.00422.19
8.1.130.0090.00020.08
8.1.120.0070.00017.36
8.1.110.0070.00017.36
8.1.100.0030.00517.25
8.1.90.0040.00417.37
8.1.80.0000.00717.29
8.1.70.0000.00717.29
8.1.60.0000.00817.50
8.1.50.0060.00317.41
8.1.40.0050.00317.50
8.1.30.0050.00317.50
8.1.20.0000.00717.66
8.1.10.0000.00717.42
8.1.00.0000.00917.45
8.0.300.0000.00718.77
8.0.290.0050.00316.63
8.0.280.0080.00018.43
8.0.270.0030.00616.76
8.0.260.0030.00318.23
8.0.250.0030.00316.89
8.0.240.0040.00416.84
8.0.230.0030.00316.80
8.0.220.0080.00016.77
8.0.210.0070.00016.77
8.0.200.0000.00616.89
8.0.190.0050.00316.77
8.0.180.0080.00016.84
8.0.170.0040.00416.77
8.0.160.0000.00716.79
8.0.150.0030.00316.67
8.0.140.0040.00416.71
8.0.130.0000.00513.27
8.0.120.0080.00016.71
8.0.110.0030.00616.83
8.0.100.0040.00416.87
8.0.90.0040.00416.75
8.0.80.0080.00916.87
8.0.70.0080.00016.83
8.0.60.0070.00016.78
8.0.50.0040.00416.80
8.0.30.0070.01317.05
8.0.20.0090.00917.40
8.0.10.0020.00516.85
8.0.00.0180.00316.63
7.4.330.0030.00315.55
7.4.320.0060.00016.40
7.4.300.0040.00416.45
7.4.290.0070.00016.48
7.4.280.0040.00416.45
7.4.270.0000.00816.47
7.4.260.0030.00616.39
7.4.250.0000.00716.54
7.4.240.0030.00316.47
7.4.230.0000.00716.64
7.4.220.0050.00216.44
7.4.210.0060.00916.48
7.4.200.0000.00716.35
7.4.160.0080.00816.44
7.4.140.0130.00617.86
7.4.130.0120.00616.55
7.4.120.0110.00816.51
7.4.110.0070.01616.32
7.4.100.0060.01016.39
7.4.90.0070.01216.66
7.4.80.0090.00819.39
7.4.70.0130.00316.65
7.4.60.0160.00016.24
7.4.50.0060.00916.52
7.4.40.0150.00016.43
7.4.10.0040.01616.54
7.4.00.0050.01315.81
7.3.330.0060.00013.00
7.3.320.0030.00513.21
7.3.310.0040.00416.12
7.3.300.0040.00416.24
7.3.290.0070.00016.11
7.3.280.0090.00816.20
7.3.260.0090.01116.43
7.3.240.0070.01016.37
7.3.230.0100.00616.36
7.3.210.0100.00716.19
7.3.200.0120.00316.12
7.3.190.0150.00316.35
7.3.180.0120.00616.45
7.3.170.0120.00616.53
7.3.160.0110.00416.24
7.3.130.0070.00716.19
7.3.120.0130.00316.11
7.3.110.0040.00716.22
7.3.100.0090.00616.08
7.3.90.0090.00316.21
7.3.80.0110.00416.39
7.3.70.0060.00916.12
7.3.60.0030.01416.07
7.3.50.0030.00615.97
7.3.40.0090.00916.26
7.3.30.0000.01616.25
7.3.20.0080.00818.12
7.3.10.0060.00918.13
7.3.00.0130.00318.16
7.2.330.0100.00716.56
7.2.320.0130.00616.68
7.2.310.0100.00616.58
7.2.300.0000.02116.30
7.2.290.0030.01716.66
7.2.260.0070.01116.57
7.2.250.0090.01216.24
7.2.240.0060.01016.46
7.2.230.0030.01216.32
7.2.220.0100.00316.50
7.2.210.0000.01016.52
7.2.200.0080.00316.43
7.2.190.0080.01116.37
7.2.180.0030.00916.33
7.2.170.0060.00616.30
7.2.160.0070.01116.48
7.2.150.0040.01218.29
7.2.140.0040.00718.35
7.2.130.0100.00318.21
7.2.120.0090.00318.26
7.2.110.0350.01015.23
7.2.100.0330.00815.34
7.2.90.0300.00915.29
7.2.80.0540.00715.27
7.2.70.0270.00915.51
7.2.60.0310.00715.56
7.2.50.0360.01015.40
7.2.40.0330.00915.63
7.2.30.0320.01015.51
7.2.20.0280.00715.54
7.2.10.0360.00915.45
7.2.00.0290.00715.50
7.1.330.0000.01017.39
7.1.320.0090.00317.24
7.1.310.0060.00317.04
7.1.300.0070.01017.23
7.1.290.0060.00917.52
7.1.280.0030.00617.24
7.1.270.0130.00317.47
7.1.260.0030.00717.11
7.1.250.0080.00417.18
7.1.240.0060.00917.09
7.1.230.0330.00714.44
7.1.220.0340.00814.41
7.1.210.0410.00814.46
7.1.200.0210.00814.41
7.1.190.0340.00814.51
7.1.180.0360.00714.43
7.1.170.0410.00814.46
7.1.160.0280.00814.46
7.1.150.0410.00414.39
7.1.140.0260.00714.48
7.1.130.0250.00714.41
7.1.120.0350.00914.49
7.1.110.0330.00714.51
7.1.100.0280.00614.39
7.1.90.0270.00614.47
7.1.80.0220.00514.46
7.1.70.0220.00814.42
7.1.60.0350.01030.27
7.1.50.0470.00830.23
7.1.40.0360.01230.34
7.1.30.0370.01130.45
7.1.20.0380.01130.19
7.1.10.0200.00714.48
7.1.00.0240.00614.33
7.0.330.0040.01216.96
7.0.320.0040.01116.79
7.0.310.0300.00814.14
7.0.300.0410.00614.21
7.0.290.0370.00814.16
7.0.280.0410.00514.05
7.0.270.0380.00614.23
7.0.260.0250.01014.32
7.0.250.0380.00614.54
7.0.240.0320.00614.28
7.0.230.0580.00714.21
7.0.220.0260.00714.19
7.0.210.0300.00914.26
7.0.200.0240.00714.26
7.0.190.0300.00814.25
7.0.180.0880.00914.53
7.0.170.0220.01014.22
7.0.160.0260.00614.16
7.0.150.0210.00914.29
7.0.140.0270.00914.17
7.0.130.0220.00814.24
7.0.120.0210.01114.28
7.0.110.0240.00714.23
7.0.100.0250.00714.18
7.0.90.0380.00714.53
7.0.80.0220.00814.45
7.0.70.0190.00714.44
7.0.60.0200.00814.50
7.0.50.0280.00714.58
7.0.40.0530.00714.17
7.0.30.0190.00814.37
7.0.20.0250.00514.02
7.0.10.0170.00814.21
7.0.00.0250.00813.97
5.6.400.0060.00615.74
5.6.390.0000.00915.50
5.6.380.0090.00814.16
5.6.370.0130.00714.29
5.6.360.0130.00714.45
5.6.350.0160.00614.29
5.6.340.0100.00914.31
5.6.330.0140.00714.35
5.6.320.0080.01114.23
5.6.310.0110.00614.30
5.6.300.0130.00614.35
5.6.290.0140.00514.30
5.6.280.0100.00914.28
5.6.270.0130.00714.23
5.6.260.0100.00814.41
5.6.250.0120.00714.30
5.6.240.0100.00914.30
5.6.230.0130.00614.39
5.6.220.0110.00814.29
5.6.210.0130.00714.25
5.6.200.0150.00514.27
5.6.190.0120.00914.26
5.6.180.0120.00814.22
5.6.170.0160.00414.27
5.6.160.0110.00914.26
5.6.150.0120.00814.25
5.6.140.0120.01014.24
5.6.130.0130.00714.40
5.6.120.0110.00914.35
5.6.110.0130.00714.26
5.6.100.0130.00714.26
5.6.90.0110.01014.16
5.6.80.0100.01014.22
5.6.70.0090.01014.14
5.6.60.0110.00714.17
5.6.50.0080.00914.25
5.6.40.0130.00614.19
5.6.30.0130.00614.17
5.6.20.0110.00914.21
5.6.10.0130.00614.18
5.6.00.0100.00914.24
5.5.380.0060.00810.87
5.5.370.0110.00310.92
5.5.360.0100.00610.73
5.5.350.0110.00510.90
5.5.340.0090.00710.83
5.5.330.0100.00510.94
5.5.320.0090.00710.93
5.5.310.0140.00410.93
5.5.300.0110.00510.90
5.5.290.0100.00410.88
5.5.280.0100.00510.90
5.5.270.0050.01010.93
5.5.260.0080.00710.87
5.5.250.0090.00610.79
5.5.240.0110.00410.86
5.5.230.0090.00710.82
5.5.220.0080.00510.82
5.5.210.0060.00810.77
5.5.200.0120.00410.81
5.5.190.0110.00410.84
5.5.180.0110.00410.71
5.5.170.0130.00713.91
5.5.160.0090.00610.88
5.5.150.0070.00810.73
5.5.140.0100.00510.78
5.5.130.0090.00610.81
5.5.120.0100.00510.82
5.5.110.0080.00610.81
5.5.100.0100.00510.84
5.5.90.0100.00510.68
5.5.80.0100.00410.83
5.5.70.0070.00710.89
5.5.60.0100.00510.72
5.5.50.0080.00710.88
5.5.40.0080.00610.79
5.5.30.0100.00510.80
5.5.20.0070.00810.74
5.5.10.0100.00410.72
5.5.00.0100.00510.74
5.4.450.0090.00610.93
5.4.440.0080.00610.77
5.4.430.0120.00310.79
5.4.420.0100.00510.66
5.4.410.0070.00610.79
5.4.400.0090.00510.68
5.4.390.0100.00410.76
5.4.380.0070.00810.77
5.4.370.0110.00510.73
5.4.360.0080.00710.65
5.4.350.0110.00510.79
5.4.340.0090.00510.69
5.4.330.0070.00710.76
5.4.320.0090.00510.67
5.4.310.0090.00610.82
5.4.300.0110.00410.77
5.4.290.0090.00510.78
5.4.280.0090.00510.75
5.4.270.0100.00510.82
5.4.260.0100.00510.77
5.4.250.0060.00910.74
5.4.240.0090.00610.69
5.4.230.0100.00410.78
5.4.220.0070.00610.69
5.4.210.0080.00610.69
5.4.200.0090.00510.77
5.4.190.0080.00410.69
5.4.180.0070.00810.78
5.4.170.0080.00610.76
5.4.160.0080.00510.67
5.4.150.0090.00510.65
5.4.140.0090.00410.67
5.4.130.0090.00410.77
5.4.120.0060.00710.67
5.4.110.0100.00510.76
5.4.100.0070.00610.67
5.4.90.0070.00610.66
5.4.80.0070.00710.72
5.4.70.0090.00410.65
5.4.60.0080.00510.76
5.4.50.0040.00910.72
5.4.40.0110.00310.68
5.4.30.0070.00610.73
5.4.20.0080.00410.70
5.4.10.0050.00810.73
5.4.00.0070.00710.75
5.3.290.0100.00410.50
5.3.280.0090.00410.50
5.3.270.0080.00510.50
5.3.260.0090.00510.50
5.3.250.0080.00510.50
5.3.240.0060.00710.50
5.3.230.0060.00510.50
5.3.220.0080.00510.50
5.3.210.0070.00510.50
5.3.200.0090.00310.50
5.3.190.0070.00610.50
5.3.180.0090.00410.50
5.3.170.0080.00410.50
5.3.160.0050.00710.50
5.3.150.0070.00510.50
5.3.140.0080.00510.50
5.3.130.0060.00710.50
5.3.120.0100.00310.50
5.3.110.0050.00710.50
5.3.100.0090.00510.50
5.3.90.0080.00410.50
5.3.80.0060.00710.50
5.3.70.0090.00410.50
5.3.60.0070.00510.50
5.3.50.0090.00410.50
5.3.40.0060.00510.50
5.3.30.0090.00410.50
5.3.20.0080.00510.50
5.3.10.0080.00510.50
5.3.00.0070.00410.50
5.2.170.0070.00510.50
5.2.160.0050.00510.50
5.2.150.0040.00710.50
5.2.140.0060.00410.50
5.2.130.0060.00510.50
5.2.120.0040.00710.50
5.2.110.0070.00310.50
5.2.100.0050.00510.50
5.2.90.0060.00410.50
5.2.80.0060.00510.50
5.2.70.0060.00410.50
5.2.60.0070.00310.50
5.2.50.0060.00410.50
5.2.40.0040.00710.50
5.2.30.0060.00510.50
5.2.20.0080.00210.50
5.2.10.0050.00410.50
5.2.00.0060.00410.50
5.1.60.0090.00210.50
5.1.50.0050.00410.50
5.1.40.0040.00510.50
5.1.30.0040.00510.50
5.1.20.0050.00410.50
5.1.10.0050.00310.50
5.1.00.0050.00410.50
5.0.50.0070.00110.50
5.0.40.0050.00310.50
5.0.30.0060.00310.50
5.0.20.0040.00310.50
5.0.10.0030.00410.50
5.0.00.0040.00410.50
4.4.90.0040.00310.50
4.4.80.0050.00210.50
4.4.70.0040.00210.50
4.4.60.0050.00210.50
4.4.50.0050.00310.50
4.4.40.0060.00210.50
4.4.30.0030.00410.50
4.4.20.0040.00210.50
4.4.10.0040.00310.50
4.4.00.0030.00410.50
4.3.110.0040.00210.50
4.3.100.0030.00310.50
4.3.90.0040.00310.50
4.3.80.0040.00310.50
4.3.70.0040.00310.50
4.3.60.0040.00210.50
4.3.50.0020.00410.50
4.3.40.0040.00310.50
4.3.30.0020.00310.50
4.3.20.0030.00310.50
4.3.10.0020.00310.50
4.3.00.0020.00410.50

preferences:
43.63 ms | 400 KiB | 5 Q