3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (int) '1. Add a typecast 2. ??? 3. Profit';

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.4.20.0160.00619.45
8.4.10.0030.00617.35
8.3.140.0070.00416.72
8.3.130.0080.00818.50
8.3.120.0060.00318.82
8.3.110.0040.00420.94
8.3.100.0060.00324.06
8.3.90.0080.00026.77
8.3.80.0040.00418.30
8.3.70.0090.00616.63
8.3.60.0120.00318.34
8.3.50.0100.00517.36
8.3.40.0110.00718.71
8.3.30.0110.00318.59
8.3.20.0000.00818.89
8.3.10.0050.00321.90
8.3.00.0050.00323.61
8.2.260.0140.00320.65
8.2.250.0050.00216.78
8.2.240.0060.00319.00
8.2.230.0030.00622.58
8.2.220.0090.00037.54
8.2.210.0110.00326.77
8.2.200.0060.00318.54
8.2.190.0120.00616.58
8.2.180.0110.00718.16
8.2.170.0070.00722.96
8.2.160.0100.01019.29
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00419.17
8.2.120.0080.00026.35
8.2.110.0050.00521.10
8.2.100.0070.00317.90
8.2.90.0030.00619.00
8.2.80.0100.00017.97
8.2.70.0040.00417.90
8.2.60.0040.00417.80
8.2.50.0020.00618.10
8.2.40.0030.00519.35
8.2.30.0090.00019.23
8.2.20.0070.00017.96
8.2.10.0000.00817.80
8.2.00.0000.00719.06
8.1.310.0100.00717.89
8.1.300.0110.00818.06
8.1.290.0030.00630.84
8.1.280.0030.01225.92
8.1.270.0040.00422.11
8.1.260.0120.00626.35
8.1.250.0000.00828.09
8.1.240.0000.00923.92
8.1.230.0060.00618.86
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0060.00317.10
8.1.190.0000.00817.29
8.1.180.0050.00318.10
8.1.170.0070.00018.91
8.1.160.0070.00018.70
8.1.150.0070.00018.80
8.1.140.0040.00417.56
8.1.130.0000.00718.85
8.1.120.0000.00717.28
8.1.110.0030.00317.28
8.1.100.0070.00317.32
8.1.90.0030.00717.36
8.1.80.0000.00717.34
8.1.70.0030.00317.21
8.1.60.0110.00017.41
8.1.50.0080.00017.38
8.1.40.0030.00617.41
8.1.30.0000.00817.56
8.1.20.0040.00417.38
8.1.10.0050.00317.45
8.1.00.0040.00417.26
8.0.300.0040.00418.77
8.0.290.0080.00016.75
8.0.280.0070.00018.34
8.0.270.0030.00317.23
8.0.260.0030.00317.24
8.0.250.0030.00316.91
8.0.240.0080.00016.86
8.0.230.0000.00716.92
8.0.220.0050.00216.88
8.0.210.0040.00416.80
8.0.200.0000.00716.87
8.0.190.0040.00816.85
8.0.180.0000.00716.82
8.0.170.0030.00516.71
8.0.160.0040.00416.84
8.0.150.0030.00616.74
8.0.140.0080.00016.67
8.0.130.0050.00013.20
8.0.120.0000.00816.73
8.0.110.0000.00816.71
8.0.100.0070.00016.63
8.0.90.0030.00616.73
8.0.80.0080.01216.83
8.0.70.0000.00716.71
8.0.60.0050.00316.79
8.0.50.0040.00416.85
8.0.30.0110.00717.05
8.0.20.0130.00517.40
8.0.10.0040.00416.90
8.0.00.0120.01116.61
7.4.330.0030.00315.55
7.4.320.0060.00016.43
7.4.300.0030.00316.49
7.4.290.0090.00016.46
7.4.280.0070.00016.38
7.4.270.0000.00816.35
7.4.260.0030.00316.36
7.4.250.0030.00316.38
7.4.240.0100.00016.39
7.4.230.0030.00316.49
7.4.220.0000.00816.29
7.4.210.0090.00916.37
7.4.200.0000.00716.20
7.4.160.0090.00616.39
7.4.140.0100.00717.86
7.4.130.0090.00916.36
7.4.120.0110.00816.47
7.4.110.0080.00816.30
7.4.100.0090.00916.42
7.4.90.0120.00616.54
7.4.80.0100.01019.39
7.4.70.0060.01016.45
7.4.60.0070.01016.44
7.4.50.0100.00616.35
7.4.40.0170.00016.48
7.4.00.0080.00814.68
7.3.330.0060.00013.10
7.3.320.0030.00312.94
7.3.310.0000.00716.15
7.3.300.0030.00316.23
7.3.290.0030.00316.21
7.3.280.0100.00716.19
7.3.260.0160.00516.33
7.3.240.0130.00516.30
7.3.230.0030.01216.45
7.3.210.0070.01016.16
7.3.200.0060.00916.22
7.3.190.0140.00916.37
7.3.180.0120.00616.09
7.3.170.0000.01616.25
7.3.160.0120.00316.30
7.3.120.0040.01114.46
7.3.110.0030.01314.79
7.3.100.0030.01414.80
7.3.90.0000.01214.83
7.3.80.0090.00614.95
7.3.70.0150.00014.69
7.3.60.0030.01114.38
7.3.50.0030.00914.79
7.3.40.0140.00014.76
7.3.30.0100.00714.55
7.3.20.0000.01316.72
7.3.10.0110.00816.23
7.3.00.0140.00716.37
7.2.330.0170.00716.20
7.2.320.0150.01316.36
7.2.310.0100.01316.64
7.2.300.0160.00016.64
7.2.290.0120.00316.59
7.2.250.0120.00615.05
7.2.240.0110.00715.07
7.2.230.0090.00415.09
7.2.220.0090.00014.96
7.2.210.0030.01014.60
7.2.200.0000.01714.92
7.2.190.0040.01114.92
7.2.180.0090.00615.03
7.2.170.0000.01315.02
7.2.160.0030.01414.76
7.2.150.0120.00616.73
7.2.140.0060.00916.80
7.2.130.0120.00816.46
7.2.120.0100.01116.50
7.2.110.0140.00516.54
7.2.100.0120.01216.56
7.2.90.0150.00616.94
7.2.80.0100.00516.44
7.2.70.0310.00815.87
7.2.60.0190.01015.86
7.2.50.0250.00415.88
7.2.40.0240.00716.05
7.2.30.0220.01015.85
7.2.20.0260.00915.77
7.2.10.0250.00515.79
7.2.00.0170.01116.09
7.1.330.0030.01415.56
7.1.320.0120.00015.83
7.1.310.0070.00415.42
7.1.300.0060.00315.42
7.1.290.0060.00615.33
7.1.280.0070.00715.39
7.1.270.0030.00915.87
7.1.260.0040.00715.60
7.1.250.0080.01015.15
7.1.200.0060.00315.64
7.1.170.0430.00713.70
7.1.160.1180.00713.70
7.1.150.0640.01313.87
7.1.140.0500.00013.65
7.1.130.0490.00013.59
7.1.120.0690.00613.57
7.1.110.0430.01013.59
7.1.100.0580.01013.97
7.1.90.0660.00313.66
7.1.80.0520.00313.97
7.1.70.0470.01013.42
7.1.60.0680.01031.69
7.1.50.1260.00731.68
7.1.40.1130.01031.71
7.1.30.0790.00931.69
7.1.20.1070.01431.90
7.1.10.0710.00713.68
7.1.00.0540.00313.52

preferences:
72.05 ms | 403 KiB | 5 Q